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

sprintf loses digits in Rakudo #3174

Closed
p6rt opened this issue Jun 22, 2013 · 9 comments
Closed

sprintf loses digits in Rakudo #3174

p6rt opened this issue Jun 22, 2013 · 9 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 22, 2013

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

Searchable as RT118601$

@p6rt
Copy link
Author

p6rt commented Jun 22, 2013

From @masak

<colomon> is that a known (Parrot) rakudobug?
<colomon> rn​: say sprintf "%x %x", 301281685344656640, 301281685344656669
<camelia> rakudo d02067​: OUTPUT«b84c9d00 b84c9d1d␤»
<camelia> ..niecza v24-81-g6672fa2​: OUTPUT«42e5e18b84c9d00 42e5e18b84c9d1d␤»
<masak> good question.
<masak> hold on, I'll scan for it.
<masak> no.
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jun 22, 2013

From @masak

<nwc10> rn​: say sprintf "%d %d", 301281685344656640, 301281685344656669
<camelia> niecza v24-81-g6672fa2​: OUTPUT«301281685344656640
301281685344656669␤»
<camelia> ..rakudo d02067​: OUTPUT«-1202938624 -1202938595␤»
<nwc10> masak​: I think that your bug title for RT #​118601 is incorrect,
but we seem to have two related bugs here
<masak> nwc10​: oh! indeed.
* masak adds this information to the ticket
<nwc10> that one looks like truncation to 32 bits

@p6rt
Copy link
Author

p6rt commented Jun 22, 2013

@masak - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Aug 23, 2013

From @FROGGS

Fixed, tests are at Raku/roast@2647c16652

@p6rt
Copy link
Author

p6rt commented Aug 23, 2013

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

@p6rt
Copy link
Author

p6rt commented Mar 28, 2014

From @moritz

The unit test for this ticket fails on rakudo-m​:

not ok 138 - RT #​118601# TODO RT 118601
# got​: '42e5e18b84c9d00 42e5e18b84c9d00'
# expected​: '42e5e18b84c9d00 42e5e18b84c9d1d'

@p6rt
Copy link
Author

p6rt commented Mar 28, 2014

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

@p6rt
Copy link
Author

p6rt commented Aug 12, 2014

From @perlpilot

On Fri Mar 28 08​:51​:58 2014, moritz wrote​:

The unit test for this ticket fails on rakudo-m​:

not ok 138 - RT #​118601# TODO RT 118601
# got​: '42e5e18b84c9d00 42e5e18b84c9d00'
# expected​: '42e5e18b84c9d00 42e5e18b84c9d1d'

Works on all parrot/jvm/moar backends now.

-Scott

@p6rt p6rt closed this as completed Aug 12, 2014
@p6rt
Copy link
Author

p6rt commented Aug 12, 2014

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

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant