where to discuss problems with IEEE 754 standard on x86 architecture?
Nick Maclaren
nmm1@cus.cam.ac.uk
Tue May 22 20:41:00 GMT 2007
I was being stupid. Sorry. My reply was correct but unhelpful.
You were using -mfpmath=387 (possible as the default), and that uses
Intel native arithmetic, which is NOT standard IEEE 754 double, but
an extended format.
If you use -mfpmath=sse, you will get what you expect.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1@cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679
More information about the Gcc-help
mailing list