From owner-freebsd-standards@FreeBSD.ORG Mon Jul 11 11:02:29 2005 Return-Path: X-Original-To: freebsd-standards@freebsd.org 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 553BD16A424 for ; Mon, 11 Jul 2005 11:02:29 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 246C943D75 for ; Mon, 11 Jul 2005 11:02:20 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6BB2JaH011608 for ; Mon, 11 Jul 2005 11:02:19 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6BB2Jq8011602 for freebsd-standards@freebsd.org; Mon, 11 Jul 2005 11:02:19 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 11 Jul 2005 11:02:19 GMT Message-Id: <200507111102.j6BB2Jq8011602@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter 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, 11 Jul 2005 11:02:29 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/03/05] bin/25542 standards /bin/sh: null char in quoted string p [2002/02/25] standards/35307standards standard include files are not standard c o [2002/12/13] kern/46239 standards posix semaphore implementation errors o [2003/04/21] standards/51209standards [PATCH] add a64l()/l64a/l64a_r functions p [2003/06/05] standards/52972standards /bin/sh arithmetic not POSIX compliant o [2003/07/12] standards/54410standards one-true-awk not POSIX compliant (no exte o [2004/11/03] standards/73500standards 'set +o' in /bin/sh does not include unse o [2005/03/03] standards/78357standards getaddrinfo() doesn't appear to support A o [2005/06/25] standards/82654standards C99 long double math functions are missin 9 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/24] bin/21519 standards sys/dir.h should be deprecated some more o [2001/01/16] bin/24390 standards Replacing old dir-symlinks when using /bi s [2001/01/24] standards/24590standards timezone function not compatible witn Sin s [2001/06/18] kern/28260 standards UIO_MAXIOV needs to be made public p [2001/11/20] standards/32126standards getopt(3) not Unix-98 conformant o [2002/02/27] misc/35381 standards incorrect floating-point display of large s [2002/03/19] standards/36076standards Implementation of POSIX fuser command o [2002/06/14] standards/39256standards [v]snprintf aren't POSIX-conformant for s o [2002/07/09] kern/40378 standards stdlib.h gives needless warnings with -an p [2002/08/12] standards/41576standards POSIX compliance of ln(1) o [2002/10/23] standards/44425standards getcwd() succeeds even if current dir has o [2002/12/09] standards/46119standards Priority problems for SCHED_OTHER using p o [2003/07/24] standards/54809standards pcvt deficits o [2003/07/25] standards/54833standards more pcvt deficits o [2003/07/25] standards/54839standards pcvt deficits o [2003/07/31] standards/55112standards glob.h, glob_t's gl_pathc should be "size o [2003/09/05] standards/56476standards cd9660 unicode support simple hack o [2003/10/29] standards/58676standards grantpt(3) alters storage used by ptsname s [2004/02/14] standards/62858standards malloc(0) not C99 compliant p [2004/02/21] standards/63173standards Patch to add getopt_long_only(3) to libc o [2004/03/29] kern/64875 standards [patch] add a system call: fdatasync() o [2004/05/07] standards/66357standards make POSIX conformance problem ('sh -e' & o [2004/05/11] standards/66531standards _gettemp uses a far smaller set of filena o [2004/08/22] standards/70813standards [PATCH] ls not Posix compliant o [2004/08/26] docs/70985 standards [patch] sh(1): incomplete documentation o o [2004/09/22] standards/72006standards floating point formating in non-C locales o [2005/03/20] standards/79055standards Add an IFS regression test for shells o [2005/03/20] standards/79056standards regex(3) regression tests o [2005/03/21] standards/79067standards /bin/sh should be more intelligent about o [2005/05/20] standards/81287standards [PATCH]: fingerd(8) might send a line not 30 problems total. From owner-freebsd-standards@FreeBSD.ORG Thu Jul 14 18:54:38 2005 Return-Path: X-Original-To: freebsd-standards@FreeBSD.ORG 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 3841C16A41C; Thu, 14 Jul 2005 18:54:38 +0000 (GMT) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE29243D46; Thu, 14 Jul 2005 18:54:37 +0000 (GMT) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.13.3/8.13.1) with ESMTP id j6EIqPOI095384; Thu, 14 Jul 2005 14:52:25 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.13.3/8.13.1/Submit) id j6EIqPk8095383; Thu, 14 Jul 2005 14:52:25 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Thu, 14 Jul 2005 14:52:24 -0400 From: David Schultz To: Mark Linimon Message-ID: <20050714185224.GA95312@VARK.MIT.EDU> Mail-Followup-To: Mark Linimon , freebsd-bugs@FreeBSD.ORG, freebsd-standards@FreeBSD.ORG References: <200409010324.i813OjTi063637@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409010324.i813OjTi063637@freefall.freebsd.org> Cc: freebsd-bugs@FreeBSD.ORG, freebsd-standards@FreeBSD.ORG Subject: Re: misc/35381: incorrect floating-point display of large values when using round-upward IEEE mode 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: Thu, 14 Jul 2005 18:54:38 -0000 This does not occur in FreeBSD 5.X. It's unlikely that the issue will be fixed in 4.X because the fix involves importing an updated version of a library and making substantial changes to libc. I reported some related problems to the author of gdtoa (which is the library we use to perform this type of conversion) some months ago. These bugs affect 5.X and 6-CURRENT, although technically speaking fixing them is not required (only recommended) by POSIX. | - When FLT_ROUNDS is 3 (round downward), strtod() converts | the string "0x1.ffffffffffffffp0" to 2. The correct | result is 0x1.fffffffffffffp0. | | - When FLT_ROUNDS is 3, strtopx() converts the string | "1.999999999999999999999999999999999" to 2. Strtod(), | on the other hand, correctly rounds down. | | - When FLT_ROUNDS is 2 (round upward), strtod() converts | the string "0x1.23p-5000" to 0. The correct result | when rounding upwards is the smallest representable | number, 0x1p-1074. From owner-freebsd-standards@FreeBSD.ORG Thu Jul 14 18:55:32 2005 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77F1816A41F; Thu, 14 Jul 2005 18:55:32 +0000 (GMT) (envelope-from das@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D1D43D45; Thu, 14 Jul 2005 18:55:32 +0000 (GMT) (envelope-from das@FreeBSD.org) Received: from freefall.freebsd.org (das@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6EItWqm050449; Thu, 14 Jul 2005 18:55:32 GMT (envelope-from das@freefall.freebsd.org) Received: (from das@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6EItVMJ050445; Thu, 14 Jul 2005 18:55:31 GMT (envelope-from das) Date: Thu, 14 Jul 2005 18:55:31 GMT From: David Schultz Message-Id: <200507141855.j6EItVMJ050445@freefall.freebsd.org> To: monniaux@genievre.ens.fr, das@FreeBSD.org, freebsd-standards@FreeBSD.org Cc: Subject: Re: misc/35381: incorrect floating-point display of large values when using round-upward IEEE mode 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: Thu, 14 Jul 2005 18:55:32 -0000 Synopsis: incorrect floating-point display of large values when using round-upward IEEE mode State-Changed-From-To: open->closed State-Changed-By: das State-Changed-When: Thu Jul 14 18:54:48 GMT 2005 State-Changed-Why: Fixing this in 4.X would require substantial changes. http://www.freebsd.org/cgi/query-pr.cgi?pr=35381