bug in NINT() in gfortran

Dave Korn dave.korn.cygwin@gmail.com
Sat Jun 12 14:28:00 GMT 2010


On 12/06/2010 15:13, Marco Atzeri wrote:
> --- Sab 12/6/10, Dave Korn  ha scritto:

>> yesterday, and my investigations so far suggest that it's actually a
>> problem in the underlying maths functions in newlib.  

> it seems a fault coming from newlib lround

  Yes, that's what I did in my "investigations so far".  I've now tracked it
down to undefined behaviour (a right-shift by 32 bits) in newlib; a patch will
follow shortly.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list