Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2007 00:20:10 GMT
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/112180: tgamma on negative integers returns Inf instead of NaN
Message-ID:  <200704290020.l3T0KA0e069040@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/112180; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: =?X-UNKNOWN?Q?Vincent_Lef=E8vre?= <vincent@vinc17.org>
Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-standards@FreeBSD.org
Subject: Re: standards/112180: tgamma on negative integers returns Inf instead
 of NaN
Date: Sun, 29 Apr 2007 10:14:55 +1000 (EST)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
 
 --0-200284211-1177805695=:17746
 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
 Content-Transfer-Encoding: QUOTED-PRINTABLE
 
 On Fri, 27 Apr 2007, Vincent Lef=E8vre wrote:
 
 > Though POSIX allows an implementation-defined value to be returned, this =
 is mainly in the case where NaN is not supported, and NaN is the best choic=
 e and is what tgamma returns on other platforms (Linux, HP-UX, Mac OS X).
 
 Also, Annex F of C99 (about the IEEE-754/IEC-mumble binding) requires a NaN
 plus the "invalid" exception.
 
 Bruce
 --0-200284211-1177805695=:17746--



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