Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2002 17:53:04 +0200 (CEST)
From:      "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" <giffunip@yahoo.com>
To:        freebsd-standards@FreeBSD.org
Subject:   Math changes in Mac OS X
Message-ID:  <20020904155304.35866.qmail@web13405.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi;

I have no idea how similar our libm is to Darwin's but the
following note on
http://developer.apple.com/technotes/tn2002/tn2053.html
seemed interesting:

* The libm library is now standard compliant. The new math
library in jaguar is now IEEE-754 and C99 compliant in
double precision. In addition, the new libm is faster than
MathLib found in Mac OS 9 and faster than libm in Mac OS
10.1.x.

* SIGFPE (New in 10.2) Jaguar floating-point environment
now fully supports IEEE-754 style exception halts.

* rounding control (changed in 10.2) The return values of
the floating point environment routines fesetround(),
feholdexcept() have been changed and corrected. These
routines in Mac OS 10.1.x and earlier returned boolean
status opposite to that specified by C99. Jaguar libm
corrects this and brings them into agreement with the
ISO/IEC 9899:1999 (C99) specification. . 

* The gamma function has been changed in Mac OS X 10.2. See
Technical Q&A 1143 for more information
<http://developer.apple.com/qa/qa2001/qa1143.html>; .

* Quiet and signaling NaNs have been changed in Mac OS X
10.2. FP_SNAN, FP_QNAN are deprecated in the final C99
spec. The new <math.h> defines them to be the standard FP_NAN.

______________________________________________________________________
Yahoo! Musica: notizie, recensioni, classifiche, speciali multimediali
http://it.yahoo.com/mail_it/foot/?http://it.music.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020904155304.35866.qmail>