delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/13:20:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3F0D9FEA.5030703@mitre.org>
Date: Thu, 10 Jul 2003 13:18:34 -0400
From: "Joseph E. Vornehm, Jr." <joev AT mitre DOT org>
Organization: The MITRE Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: newlib math bug (fpclassify)

I've already posted this info to the newlib list along with a patch. 
Someone suggested I re-posting it here, since it affects development of 
scientific/mathematical software using Cygwin.  Apologies if this is 
repeat information for anyone; this seemed to be a more appropriate 
forum than, say, cygwin-patches.

newlib contains a bug in its math libraries that causes fmax() and 
fmin() not to handle negative numbers properly.  I presume several other 
math functions are affected, as well.  Specifically, the __fpclassifyf 
and __fpclassifyd functions incorrectly report negative numbers as NaNs.

newlib 1.11.0 is affected; I presume prior versions are affected, as 
well.  Version 1.3.22 of the Cygwin DLL is affected.  The newlib cvsweb 
interface shows that the patch has been applied to the CVS tree.

Joe Vornehm



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

- Raw text -


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