[Bug fortran/27561] [mingw32] floating-point extreme values are wrong

dir at lanl dot gov gcc-bugzilla@gcc.gnu.org
Tue May 30 16:34:00 GMT 2006



------- Comment #5 from dir at lanl dot gov  2006-05-30 16:34 -------
It is strange - gfortran under cygwin does not seem to have the problem. I
wonder why GMP/MPFR is different under MSYS ? I also tried your test under MSYS
on my system and got the same answer (+one digit) that you got under linux -

$ gcc -o  mpfr  mpfr.c -lmpfr -lgmp

rantad@XP-RANTAD /d/Docume~1/rantad/mydocu~1/tests
$ mpfr
2.000000000000000
1.192092895507812e-7

rantad@XP-RANTAD /d/Docume~1/rantad/mydocu~1/tests
$ gcc --v
Reading specs from d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
--enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry
--disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt
--without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter
--enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.2 (mingw-special)

rantad@XP-RANTAD /d/Docume~1/rantad/mydocu~1/tests


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27561



More information about the Gcc-bugs mailing list