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

Rat literal syntax creates Rats with denominators larger than 64 bits #6619

Open
p6rt opened this issue Oct 16, 2017 · 4 comments
Open

Rat literal syntax creates Rats with denominators larger than 64 bits #6619

p6rt opened this issue Oct 16, 2017 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Oct 16, 2017

Migrated from rt.perl.org#132313 (status was 'open')

Searchable as RT132313$

@p6rt
Copy link
Author

p6rt commented Oct 16, 2017

From @AlexDaniel

Code​:
say 1.111111111111111111111

Result (2014.01 .. d6a9eda)​:
1.11111111111111111604544

The number itself is stored as a Rat so there should be no problem presenting it in a better way.

@p6rt
Copy link
Author

p6rt commented Oct 16, 2017

From @zoffixznet

On Mon, 16 Oct 2017 16​:23​:05 -0700, alex.jakimenko@​gmail.com wrote​:

Code​:
say 1.111111111111111111111

Result (2014.01 .. d6a9eda)​:
1.11111111111111111604544

The number itself is stored as a Rat so there should be no problem
presenting it in a better way.

*clicks take*

@p6rt
Copy link
Author

p6rt commented Oct 16, 2017

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

@p6rt
Copy link
Author

p6rt commented Oct 16, 2017

From @AlexDaniel

FWIW the title is very misleading, see this discussion​: https://irclog.perlgeek.de/perl6/2017-10-16#i_15312269

On 2017-10-16 16​:23​:05, alex.jakimenko@​gmail.com wrote​:

Code​:
say 1.111111111111111111111

Result (2014.01 .. d6a9eda)​:
1.11111111111111111604544

The number itself is stored as a Rat so there should be no problem
presenting it in a better way.

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