Re: [Vala] Libgee problem
- From: Alessandro Pellizzari <alex amiran it>
- To: vala-list gnome org
- Subject: Re: [Vala] Libgee problem
- Date: Wed, 09 Dec 2009 19:16:41 +0100
Il giorno mer, 09/12/2009 alle 11.30 +0100, Nicolas ha scritto:
var map = new HashMap <double, double> ();
Return this error:
error: `double' is not a supported generic type argument, use `?' to box
value types
Why libgee does not support double with hashmap?
I think using double as hash index is dangerous, because of
approximation.
Did you think about transforming the double numbers to "fixed precision
decimals" (represented by 64bit integers) or to strings?
Bye.
--
Alessandro Pellizzari
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]