www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-YMail-OSG: | AQdSQewVM1ku3HKKtLVaNyBd4kRXB69Fmj7DVIutqmqY1M7t.27Qp_WvKUTMZCI6CbCY6QAX8dX1wzh9.5A59GFZo6h_85wFLef6l7Zgq1GoNQqavQxM2sVT_1azbSQ- |
Date: | Wed, 2 May 2007 10:22:03 -0700 (PDT) |
From: | "Cary R." <cygcary AT yahoo DOT com> |
Subject: | Re: newlib?: pow function can produce incorrect results. |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Message-ID: | <476923.14782.qm@web59106.mail.re1.yahoo.com> |
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 |
One thing to keep in mind is that I was encouraged to submit patches to make the newlib functions match the glibc implementation not the standard. Which I don't currently have access to. > Other potentially controversial special cases (may or may not be > handled correctly by newlib -- I didn't check) are: > atan2(+-0,-0)=+-pi > atan2(+-0,+0)=+-0 newlib and my version of glibc return +0 for all these cases. > hypot(+-inf,y)=+inf, even for y=NaN > fmax(x,NaN)=fmax(NaN,x)=fmin(x,NaN)=fmin(NaN,x)=x newlib gets these right. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |