develooper Front page | perl.perl5.porters | Postings from December 2013

Re: [perl #120426] Strange and unwarranted underflow instring-to-number

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
December 4, 2013 17:22
Subject:
Re: [perl #120426] Strange and unwarranted underflow instring-to-number
Message ID:
20131204172209.GC2490@iabyn.com
On Tue, Dec 03, 2013 at 01:21:53PM -0500, Morten Welinder wrote:
> If I understand you right, you are rolling your own atof.

Yep.

> That is tricky business.

Yep.

> There are some tricky cases at
> 
>     http://www.exploringbinary.com/incorrectly-rounded-conversions-in-gcc-and-glibc/
> 
> that glibc has only recently gotten right.

Thanks.

Does anyone know why we roll our own?

-- 
A major Starfleet emergency breaks out near the Enterprise, but
fortunately some other ships in the area are able to deal with it to
everyone's satisfaction.
    -- Things That Never Happen in "Star Trek" #13

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About