[fpc-devel] rounding precision error with integer and floating point division

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Nov 18 12:04:32 CET 2011


On 17 Nov 2011, at 20:51, Seth Grover wrote:

> Notice that in x86_64, unless you explicitly cast the longword as a
> double before the division, you get some sort of rounding error or
> loss of precision.

http://wiki.freepascal.org/User_Changes_2.2.0#Floating_point_constants


Jonas



More information about the fpc-devel mailing list