This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bug in NINT() in gfortran
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 12 Jun 2010 15:48:52 +0100
- Subject: Re: bug in NINT() in gfortran
- References: <3113.95153.qm@web25508.mail.ukl.yahoo.com>
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