Follow-up Comment #3, bug #22960 (project freeciv): Still happening. I'm assuming this is just floating point imprecision, and that the fix is to not complain about discrepancies caused by truncation of LSBs.
> I don't understand how this is possible: > value = 0.000510 > v = value * factor = 0.000510 * 1000000 (= 510?) > v / factor = 0.000509 ??? Probably the original displayed value of value (0.000510) is an approximation to the real floating-point value? I suspect 0.000510 cannot be represented exactly in floating point (and I think http://www.h-schmidt.net/FloatConverter/IEEE754.html confirms this). _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22960> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev