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

Stringified Rat has traling zeros #1818

Open
zoffixznet opened this issue May 12, 2018 · 2 comments
Open

Stringified Rat has traling zeros #1818

zoffixznet opened this issue May 12, 2018 · 2 comments
Labels
rationals stringification .Str, .gist, .perl, print, put, say, note, dd tests needed Issue is generally resolved but tests were not written yet

Comments

@zoffixznet
Copy link
Contributor

(just filing as reminder for myself to look at as part of the grant; I'm suspicious of that trailing zero)

<Zoffix_> m: say <1/99999999999999999999>
<camelia> rakudo-moar febcb9177: OUTPUT: «0.000000000000000000010␤»
```
@zoffixznet zoffixznet self-assigned this May 12, 2018
@thundergnat
Copy link
Contributor

.say for 7/250378, 17/85099, 100/99953873, 777777/222222222, 331/20687744, 336/336005, 5/277777

«0.0000280␤0.000200␤0.000001000␤0.00350000␤0.000016000␤0.0010000␤0.0000180␤»

Zoffix, Take a look at pull request #1822 which coincidentally addresses this among other things.

@zoffixznet zoffixznet removed their assignment Jul 28, 2018
@lucasbuchala lucasbuchala added rationals stringification .Str, .gist, .perl, print, put, say, note, dd labels Mar 15, 2019
@dogbert17
Copy link

Fixed with e0dca0c

@vrurg vrurg added the tests needed Issue is generally resolved but tests were not written yet label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rationals stringification .Str, .gist, .perl, print, put, say, note, dd tests needed Issue is generally resolved but tests were not written yet
Projects
None yet
Development

No branches or pull requests

5 participants