Navigation Menu

Skip to content
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

sprinf "%+.5f" "% .5f" regressions #3465

Closed
p6rt opened this issue Jul 30, 2014 · 4 comments
Closed

sprinf "%+.5f" "% .5f" regressions #3465

p6rt opened this issue Jul 30, 2014 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 30, 2014

Migrated from rt.perl.org#122437 (status was 'resolved')

Searchable as RT122437$

@p6rt
Copy link
Author

p6rt commented Jul 30, 2014

From @dwarring

From the IRC
[15​:25] <TimToady> p6​: printf "%+.5f", pi
[15​:25] <+camelia> rakudo-{parrot,jvm,moar} 820565​: OUTPUT«3.14159»
[15​:25] <+camelia> ..niecza v24-109-g48a8de3​: OUTPUT«Unhandled exception​: invalid format specifier␤ at /home/p6eval/niecza/lib/CORE.setting line 1403 (sprintf @​ 4) ␤ at /home/p6eval/niecza/lib/CORE.setting line 1404 (printf @​ 5) ␤ at /tmp/tmpfile line 1 (mainline @​ 3) ␤ at /home/p6eval/niecz…»
[15​:25] <TimToady> no +?
[15​:28] == Rotwang [~palmowsk@​unaffiliated/rotwang] has quit [Ping timeout​: 272 seconds]
[15​:28] <TimToady> should print out +3.14159
[15​:33] <TimToady> space doesn't work either, which appears to be a regression from rakudo version #​22 "Thousand Oaks", according to http://rosettacode.org/wiki/Roots_of_unity#Perl_6

@p6rt
Copy link
Author

p6rt commented Jul 30, 2014

From @perlpilot

On Tue Jul 29 21​:19​:31 2014, david.warring wrote​:

From the IRC
[15​:25] <TimToady> p6​: printf "%+.5f", pi
[15​:25] <+camelia> rakudo-{parrot,jvm,moar} 820565​: OUTPUT«3.14159»
[15​:25] <+camelia> ..niecza v24-109-g48a8de3​: OUTPUT«Unhandled
exception​: invalid format specifier␤ at
/home/p6eval/niecza/lib/CORE.setting line 1403 (sprintf @​ 4) ␤ at
/home/p6eval/niecza/lib/CORE.setting line 1404 (printf @​ 5) ␤ at
/tmp/tmpfile line 1 (mainline @​ 3) ␤ at /home/p6eval/niecz…»
[15​:25] <TimToady> no +?
[15​:28] == Rotwang [~palmowsk@​unaffiliated/rotwang] has quit [Ping
timeout​: 272 seconds]
[15​:28] <TimToady> should print out +3.14159
[15​:33] <TimToady> space doesn't work either, which appears to be a
regression from rakudo version #​22 "Thousand Oaks", according to
http://rosettacode.org/wiki/Roots_of_unity#Perl_6

Fixed by Raku/nqp@854efd3 and rakudo/rakudo@11e1937

-Scott

@p6rt
Copy link
Author

p6rt commented Jul 30, 2014

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 30, 2014

@perlpilot - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jul 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant