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
sprintf doesn't format %floats with many significant digits properly #3248
Comments
From @Mouq10:48 < Mouq> p5eval: printf("%.50f", 1.115) |
From @perlpilotOn Mon Oct 14 08:12:47 2013, Mouq wrote:
Fixed for Moar/Parrot: 00:04 <PerlJam> r: printf("%.50f", 1.115) Not sure what's going on with the JVM: 00:05 <PerlJam> nqp-jvm: say(nqp::sprintf("%.50f",[1.115])) |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6This works for Moar, Parrot and JVM: $ perl6 -e 'printf("%.50f", 1.115)' I added a test to S32-str/sprintf.t with the following commit: Raku/roast@46ef5bf0e9. I'm closing the ticket. |
1 similar comment
From @usev6This works for Moar, Parrot and JVM: $ perl6 -e 'printf("%.50f", 1.115)' I added a test to S32-str/sprintf.t with the following commit: Raku/roast@46ef5bf0e9. I'm closing the ticket. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#120232 (status was 'resolved')
Searchable as RT120232$
The text was updated successfully, but these errors were encountered: