On 12.06.2018 23:12, Klaus Hartnegg wrote:


No, it does not depend on the hardware, but on the setting of $N. Turbo Pascal with $N+ rounds like FreePascal. But the default is $N-. In this mode Turbo Pascal always rounds up.

What exactly does $N in Turbo pascal mean ? Obviously it in this case it (at least for round() ) does not simply use the hardware for the  calculation (as fpc does).

-Michael
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to