Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^7: Avoiding perl's Atof when assigning floating point values

by syphilis (Archbishop)
on Jul 29, 2018 at 23:59 UTC ( [id://1219441]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Avoiding perl's Atof when assigning floating point values
in thread Avoiding perl's Atof when assigning floating point values

UPDATE: Patches for t/run/locale.t and ext/POSIX/t/posix.t have been submitted to perlbug - see https://rt.perl.org/Ticket/Display.html?id=133417
UPDATE 2: Those patches to t/run/locale.t and ext/POSIX/t/posix.t have now been applied to bleadperl.

Oh ... I failed to specifically thank you for providing those 2 patches.
I'll certainly be including them as I think that -Ud_strtod builds should be supported.
With current perl source there's no point in building with -Ud_strtod (or -Ud_strtold) but with the patches I'm proposing, those switches provide the simplest way to resort to using perl's Atof for assigning floating point values.
I don't expect that anyone in their right mind would want to opt for using perl's Atof, but I think the option should remain and the test suite should pass all tests.

Cheers,
Rob
  • Comment on Re^7: Avoiding perl's Atof when assigning floating point values

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1219441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found