> $ ./testlongfloat > 1109081216 > 1109081216.00 > 554540608 > 554540608.00 > > Am I producing a value overflow here or what's happening? The whole > thing is running on i386 with fpc 1.9.4.
glib redefined float as 32-bit single, which has much lower precision, which in turn causes the rounding. Try recompiling the above test without glib, but with math (which contains the Delphi/FPC float definition). _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal