Henrique Dante de Almeida <[EMAIL PROTECTED]> wrote: > Finally (and the answer is obvious). 387 breaks the standards and >doesn't use IEEE double precision when requested to do so.
Actually, the 80387 and the '87 FPU in all other IA-32 processors do use IEEE 745 double-precision arithmetic when requested to do so. The problem is that GCC doesn't request that it do so. It's a long standing problem with GCC that will probably never be fixed. You can work around this problem the way the Microsoft C/C++ compiler does by requesting that the FPU always use double-precision arithmetic. That way your answers are only wrong when you use long double or float. Ross Ridge -- l/ // Ross Ridge -- The Great HTMU [oo][oo] [EMAIL PROTECTED] -()-/()/ http://www.csclub.uwaterloo.ca/~rridge/ db // -- http://mail.python.org/mailman/listinfo/python-list