From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15323 invoked by alias); 16 Jul 2009 21:21:58 -0000 Received: (qmail 15261 invoked by uid 48); 16 Jul 2009 21:21:47 -0000 Date: Thu, 16 Jul 2009 21:21:00 -0000 Message-ID: <20090716212147.15260.qmail@sourceware.org> From: "orion at cora dot nwra dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20090716201610.10404.orion@cora.nwra.com> References: <20090716201610.10404.orion@cora.nwra.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/10404] strtod of very small number returns with errno set to ERANGE X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00040.txt.bz2 ------- Additional Comments From orion at cora dot nwra dot com 2009-07-16 21:21 ------- I guess it depends on what you think "cannot be represented, without extraordinary roundoff error" (definition of underflow from the C99 standard [7.12.1.5]) means. 5.3049894774131808e-315 compared to 5.30498947741318e-315 does not appear to me to have "extraordinary roundoff error". I would suggest that something other than a simple comparison with 2.2250738585072014E-308 for triggering ERANGE is in order. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10404 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.