[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [issue18062] m68k FPU precision issue



Le 26/05/2013 15:16, Thorsten Glaser a écrit :
Laurent Vivier dixit:

BTW, the result on a real CPU (68040) is :
68881 even ;-)

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
Thanks, that’s what I was guessing. I get similar results on i386.

Now as additional data point, UAE/WinUAE/etc. would be interesting.

For the "etc" ;-) , in Qemu, I have:

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



Reply to: