develooper Front page | perl.perl5.porters | Postings from July 2018

Re: [perl #41202] text->float conversion gives wrong answer

Thread Previous | Thread Next
From:
Karl Williamson
Date:
July 19, 2018 14:33
Subject:
Re: [perl #41202] text->float conversion gives wrong answer
Message ID:
2930179e-e0e3-a9f0-3142-d5009af85db5@khwilliamson.com
On 07/19/2018 05:48 AM, sisyphus@cpan.org via RT wrote:
> 
> The version of numeric.c in the smoke-me/jkeenan/sisyphus/41202-text-float branch looks wrong to me. I don't think it includes the corrections that Karl made in commits d94e901a397f05e1d0030c5cfd535ef97a6808b6 and 6d37e916c310482d19ce4cd94848823cad43507a
> 
> Attached is the numeric.c patch against current blead (as at commit b2247a87...)
> 
> Could this please be applied to the smoke-me/jkeenan/sisyphus/41202-text-float branch.
> 
> Cheers,
> Rob
> 

Again,  I wonder if the Mingw stuff should be moved into perl.h?  So 
that the #ifdef's for that are all in perl.h, and Perl_strtod behaves 
consistently everywhere

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