delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/12/10:28:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C139E54.9000807@gmail.com>
Date: Sat, 12 Jun 2010 15:48:52 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bug in NINT() in gfortran
References: <3113 DOT 95153 DOT qm AT web25508 DOT mail DOT ukl DOT yahoo DOT com>
In-Reply-To: <3113.95153.qm@web25508.mail.ukl.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019