commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: LANG - useful to have float/double equals method?
Date Wed, 12 Jan 2011 15:57:36 GMT
Hi.

> Why aren't the comparison methods in java (since 1.4) good enough?
> 
> http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Double.html#compare(double,
> double)
> 
> http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Float.html#compare(float,
> float)

IIRC, these are not compliant with IEEE754.


Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message