From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 15 16:00:06 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D0D3106564A for ; Wed, 15 Sep 2010 16:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C8488FC08 for ; Wed, 15 Sep 2010 16:00:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8FG065V096086 for ; Wed, 15 Sep 2010 16:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8FG06EW096062; Wed, 15 Sep 2010 16:00:06 GMT (envelope-from gnats) Date: Wed, 15 Sep 2010 16:00:06 GMT Message-Id: <201009151600.o8FG06EW096062@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alexander Best Cc: Subject: Re: kern/143037: [libc] strtod(3) doesn't always round to the nearest X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 16:00:06 -0000 The following reply was made to PR kern/143037; it has been noted by GNATS. From: Alexander Best To: bug-followup@freebsd.org Cc: Subject: Re: kern/143037: [libc] strtod(3) doesn't always round to the nearest Date: Wed, 15 Sep 2010 15:50:15 +0000 running HEAD (also amd64) i get this output. is this correct? just want to make sure there is no regression: rounding to nearest string = 2.225073858507201e-308 gcc = 2.225073858507200889e-308 parsed = 2.225073858507200889e-308 smaller = 2.225073858507200889e-308 actually rounded to nearest (and towards zero) larger = 2.2250738585072013831e-308 also could you point me to where there problem has been fixed? was it fixed by the gdtoa 20081205 vendor import? here's a changelog: http://www.netlib.org/fp/changes or somewhere else? cheers. alex -- a13x