On 2016-06-29 15:56, greim wrote: > Dividing a comp variable x by any number which is not 1 or x gives result 0.
I think you stumbled across the huge floating point bug detected just after the FPC 3.0 release - I believe that was already fixed in FPC Trunk and the 3.0.1 "fixes" branch. If I'm wrong, then this is yet another floating point bug in FPC 3.0 release. Regards, Graeme _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal