Thomas Kurz via fpc-pascal wrote:
1. The "writeln" in line 32 correctly prints "0.0000" when (cross-) compiling to win64, but "39.375" when compiling to win32 (with ppc386).
Maybe the word "cross-compiling" gives a clue ? In a cross-compiler, floating-point operations of constants must be software-emulated, as the target hardware is (normally) not available to the host compiler. In theory, this shouldn't be noticeable, unless there is a bug somewhere.
Regards, Adriaan van Os _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal