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 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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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