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

Crazy Rats stringify as 0.00000…000Inf #1996

Closed
AlexDaniel opened this issue Jun 30, 2018 · 0 comments
Closed

Crazy Rats stringify as 0.00000…000Inf #1996

AlexDaniel opened this issue Jun 30, 2018 · 0 comments

Comments

@AlexDaniel
Copy link
Contributor

Code:

say Rat.new(10⁴⁰⁰, 9⁹⁹⁹)

Result:

¦«2016.01.1,2016.02,2016.03,2016.04,2016.05,2016.06,2016.07.1,2016.08.1,
  2016.09,2016.10,2016.11,2016.12,2017.01,2017.02,2017.03,2017.04.3,
  2017.05,2017.06,2017.07,2017.08,2017.09,2017.10,2017.11,2017.12,2018.01,
  2018.02.1»:
0.0

¦«2018.03,2018.04.1»:
0.00

¦«2018.05,2018.06,HEAD(3cbf25e)»:
0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Inf

I think this issue is known, but filing a ticket just in case.

@zoffixznet zoffixznet self-assigned this Jun 30, 2018
@zoffixznet zoffixznet removed their assignment Jul 28, 2018
ugexe pushed a commit to Raku/roast that referenced this issue Dec 15, 2018
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

2 participants