in reply to Avoiding perl's Atof when assigning floating point values

Seems pretty simple and I can't see any downsides; is there any reason why P5P couldn't adopt this?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit
  • Comment on Re: Avoiding perl's Atof when assigning floating point values

Replies are listed 'Best First'.
Re^2: Avoiding perl's Atof when assigning floating point values
by syphilis (Archbishop) on Jun 30, 2018 at 02:25 UTC
    is there any reason why P5P couldn't adopt this?

    I think the main concern would be the gcc bugs (such as the Windows ones I previously mentioned) that might thereby be exposed.
    And they'll likely point out that one can always assign using Perl_strtod via the POSIX module with POSIX::strtod() or POSIX::strtold().

    Couple that with their disinterest in the matter (as clearly demonstrated by the lack of replies to my attempted conversation starter) and I think I'd have to present a much stronger case before anything was done.

    Cheers,
    Rob