Fri, 30 Jul 2010 19:52:37 +0900, David wrote: [clip] > Indeed, it is not, and that's expected. There are various pitfalls using > floating point. Rational and explanations: > > http://docs.sun.com/source/806-3568/ncg_goldberg.html In case of tl;dr, see also http://floating-point-gui.de/ -- Pauli Virtanen