[Bug target/33177] Wrong result from nint() on Cygwin

2007-08-27 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-08-27 09:51 --- (In reply to comment #2) > FX, do you have an idea of the time it will take for > this to make it into Cygwin update? None at all. You can ask on the cygwin list, though, it's not a subscriber-restricted list.

[Bug target/33177] Wrong result from nint() on Cygwin

2007-08-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-08-25 18:23 --- I see the fix upstream. FX, do you have an idea of the time it will take for this to make it into Cygwin update? I don't want to post a new Cygwin gfortran binary until this is fixed. -- http://gcc.gnu.org/

[Bug target/33177] Wrong result from nint() on Cygwin

2007-08-24 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-08-24 16:17 --- This is a cygwin bug: $ cat a.c #include #include int main (void) { float x = 0.7; int i = (int) lroundf (x); printf ("%d\n", i); } $ gcc a.c && ./a.exe 0 I you replace lroundf() with lround(), it works