From owner-freebsd-standards@FreeBSD.ORG Mon Apr 23 11:08:52 2007 Return-Path: X-Original-To: freebsd-standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14BEA16A408 for ; Mon, 23 Apr 2007 11:08:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id ED4C413C46A for ; Mon, 23 Apr 2007 11:08:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3NB8ptB093278 for ; Mon, 23 Apr 2007 11:08:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3NB8otT093274 for freebsd-standards@FreeBSD.org; Mon, 23 Apr 2007 11:08:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Apr 2007 11:08:50 GMT Message-Id: <200704231108.l3NB8otT093274@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 11:08:52 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/25542 standards /bin/sh: null char in quoted string o kern/46239 standards posix semaphore implementation errors o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o stand/82654 standards C99 long double math functions are missing o stand/94729 standards fcntl() throws undocumented ENOTTY 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/21519 standards sys/dir.h should be deprecated some more o bin/24390 standards Replacing old dir-symlinks when using /bin/ln s stand/24590 standards timezone function not compatible witn Single Unix Spec s kern/28260 standards UIO_MAXIOV needs to be made public s stand/36076 standards Implementation of POSIX fuser command o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings p stand/41576 standards POSIX compliance of ln(1) o stand/44425 standards getcwd() succeeds even if current dir has perm 000. o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o stand/54833 standards [pcvt] more pcvt deficits o stand/54839 standards [pcvt] pcvt deficits p stand/55112 standards glob.h, glob_t's gl_pathc should be "size_t", not "int o stand/56476 standards cd9660 unicode support simple hack o stand/58676 standards grantpt(3) alters storage used by ptsname(3) s stand/62858 standards malloc(0) not C99 compliant s kern/64875 standards [libc] [patch] [feature request] add a system call: fd o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- o stand/66531 standards _gettemp uses a far smaller set of filenames than docu o stand/70813 standards [PATCH] ls(1) not Posix compliant o stand/72006 standards floating point formating in non-C locales o stand/79056 standards regex(3) regression tests a stand/80293 standards sysconf() does not support well-defined unistd values o stand/81287 standards [PATCH]: fingerd(8) might send a line not ending in CR o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm o stand/85080 standards output of long double subnormals (with printf) is wron o stand/92360 standards [headers] [patch] Missing TAB3 in kernel headers o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/96016 standards clock_getres et al should be in o stand/96236 standards [PATCH] [POSIX] sed.1 incorrectly describes a function p stand/99517 standards Missing SIGRTMIN and SIGRTMAX signals o stand/99960 standards [Patch] [make] Add -p flag o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o stand/104743 standards Wrong values for _POSIX_ minimal limits o stand/104841 standards C99 long double square root. o stand/107561 standards Missing SUS function tcgetsid() 36 problems total. From owner-freebsd-standards@FreeBSD.ORG Fri Apr 27 13:20:02 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 BA6D016A400 for ; Fri, 27 Apr 2007 13:20:02 +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 8022B13C455 for ; Fri, 27 Apr 2007 13:20:02 +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 l3RDK2vo043095 for ; Fri, 27 Apr 2007 13:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3RDK2rI043094; Fri, 27 Apr 2007 13:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 27 Apr 2007 13:20:02 GMT Resent-Message-Id: <200704271320.l3RDK2rI043094@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-standards@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vincent Lefèvre Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF8D816A400 for ; Fri, 27 Apr 2007 13:18:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id E326A13C480 for ; Fri, 27 Apr 2007 13:18:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l3RDIMv7085665 for ; Fri, 27 Apr 2007 13:18:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l3RDDLWw085017; Fri, 27 Apr 2007 13:13:21 GMT (envelope-from nobody) Message-Id: <200704271313.l3RDDLWw085017@www.freebsd.org> Date: Fri, 27 Apr 2007 13:13:21 GMT From: Vincent Lefèvre To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: 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 List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2007 13:20:02 -0000 >Number: 112180 >Category: standards >Synopsis: tgamma on negative integers returns Inf instead of NaN >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 27 13:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Vincent Lefèvre >Release: 6.1 >Organization: INRIA >Environment: FreeBSD td150.testdrive.hp.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:43:05 UTC 2006 root@pluto2.freebsd.org:/usr/obj/usr/src/sys/GENERIC ia64 >Description: The tgamma function returns the value Inf instead of NaN on negative integers (-1, -2, ...) and -Inf. POSIX says: If x is a negative integer, a domain error shall occur, and either a NaN (if supported), or an implementation-defined value shall be returned. and If x is -Inf, a domain error shall occur, and either a NaN (if supported), or an implementation-defined value shall be returned. See . 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 choice and is what tgamma returns on other platforms (Linux, HP-UX, Mac OS X). >How-To-Repeat: Download http://www.vinc17.org/software/testlgamma.c and compile it with: gcc -Wall -O2 testlgamma.c -o testlgamma -lm and run it. For tgamma on -1, -2 and -inf, one gets: ERROR! Got inf instead of nan, and sign = 1. >Fix: >Release-Note: >Audit-Trail: >Unformatted: