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." Subject: Re: newlib?: pow function can produce incorrect results. To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <476923.14782.qm@web59106.mail.re1.yahoo.com> 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 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/