-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One digit short to correctly stringify a double #5005
Comments
From dankogai@dan.co.jpFolks, Rakudo needs to add one more digit for each Num it stringifies. % perl6 -e 'pi.say' As a result… % perl6 I consider this more severe than perl5 because: > ::('&EVAL')(pi.perl) == pi FYI perl5 has the same problem. https://rt.perl.org/Public/Bug/Display.html?id=127182 Please also consider adding hexadecimal floating point notation support (and make .perl happier). Yours, Dan the Bit-Picking Rakudo Monger |
From @lizmat
It seems that currently stringification of Nums is done with this: multi method Str(Num:D:) { Adding an nqp::sprintf(‘%.15f’) in there, only makes the parsing of core settings infiniloop. So looks like this is going to need to be fixed at nqp level. Liz |
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetOn Wed, 06 Jan 2016 04:47:03 -0800, dankogai wrote:
Thank you for the report. This is now fixed. Fix: MoarVM/MoarVM@067c0594103a025 |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127184 (status was 'resolved')
Searchable as RT127184$
The text was updated successfully, but these errors were encountered: