Le 26/05/2013 00:19, Thorsten Glaser a écrit :
Here’s the result of running it on the latest ARAnyM, which did get MPFR-based FPU emulation bugfixes, but apparently still ignores any FPUCW changes (or, at least the ones relating to precision): root@ara3:~ # ./a.out test#1 fail: 1.00000000000000000E+00 test#2 fail: 1.00000000000000040E+16 changing FPU control word from 00000000 to 00000080 => 00000080 test#1 fail: 1.00000000000000000E+00 test#2 fail: 1.00000000000000040E+16
BTW, the result on a real CPU (68040) is : test#1 fail: 1.00000000000000000E+00 test#2 fail: 1.00000000000000040E+16 changing FPU control word from 00000000 to 00000080 => 00000080 test#1 good: 1.00000000000000022E+00 test#2 good: 1.00000000000000020E+16 Regards, Laurent