[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] strtod: work around IRIX 6.5 bug
From: |
Tom G. Christensen |
Subject: |
Re: [PATCH] strtod: work around IRIX 6.5 bug |
Date: |
Wed, 8 Sep 2010 21:40:31 +0200 |
User-agent: |
Mutt/1.4.2.2i |
On Wed, Sep 08, 2010 at 11:29:21AM -0600, Eric Blake wrote:
> IRIX mis-parses "1e 1" as 10.0 and "" instead of 1.0 and "e 1".
> Because the original parse may differ from the reparse in terms
> of whether the value overflows, we have to do an errno dance.
>
> * lib/strtod.c (strtod): Reparse number on shorter string if
> exponent parse was invalid.
> * tests/test-strtod.c (main): Add check for "0x1p 2".
> Reported by Tom G. Christensen.
>
I can confirm this also fixes the issue on IRIX 6.5.
-tgc
- Re: minimum perl version, (continued)
[PATCH] strtod: work around IRIX 6.5 bug, Eric Blake, 2010/09/01