From owner-freebsd-standards@FreeBSD.ORG Sun Apr 29 00:20:10 2007 Return-Path: X-Original-To: freebsd-standards@hub.freebsd.org Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6CEC16A400 for ; Sun, 29 Apr 2007 00:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9594213C44C for ; Sun, 29 Apr 2007 00:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3T0KAOb069041 for ; Sun, 29 Apr 2007 00:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3T0KA0e069040; Sun, 29 Apr 2007 00:20:10 GMT (envelope-from gnats) Date: Sun, 29 Apr 2007 00:20:10 GMT Message-Id: <200704290020.l3T0KA0e069040@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Bruce Evans Cc: Subject: Re: standards/112180: tgamma on negative integers returns Inf instead of NaN X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Evans List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2007 00:20:11 -0000 The following reply was made to PR standards/112180; it has been noted by GNATS. From: Bruce Evans To: =?X-UNKNOWN?Q?Vincent_Lef=E8vre?= 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--