From owner-freebsd-standards Wed Sep 4 8:53:50 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAADF37B400 for ; Wed, 4 Sep 2002 08:53:47 -0700 (PDT) Received: from web13405.mail.yahoo.com (web13405.mail.yahoo.com [216.136.175.63]) by mx1.FreeBSD.org (Postfix) with SMTP id 943BC43EA9 for ; Wed, 4 Sep 2002 08:53:45 -0700 (PDT) (envelope-from giffunip@yahoo.com) Message-ID: <20020904155304.35866.qmail@web13405.mail.yahoo.com> Received: from [216.72.7.24] by web13405.mail.yahoo.com via HTTP; Wed, 04 Sep 2002 17:53:04 CEST Date: Wed, 4 Sep 2002 17:53:04 +0200 (CEST) From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" Subject: Math changes in Mac OS X To: freebsd-standards@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 . * 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 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