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
Can't take .WHAT of sufficiently decimal-endowed Rat in Rakudo #1515
Comments
From @masak<diakopter> rakudo: say .88888888888.WHAT The limit seems to go at 11 decimals. Those who know stuff about float |
From @bbkron Kiev build $ perl6 -e 'say .88888888888.WHAT' adding tests... |
The RT System itself - Status changed from 'new' to 'open' |
From @bbkrtests added in S32-num/rat.t |
@bbkr - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S32-num/rat.t commit f860b4261e301e06c21891cb8514f34a2206aaae [t/spec] tests for RT #72870 Cant take .WHAT of sufficiently decimal-endowed Rat in Rakudo Inline Patchdiff --git a/t/spec/S32-num/rat.t b/t/spec/S32-num/rat.t
index 45d6964..0f3b398 100644
--- a/t/spec/S32-num/rat.t
+++ b/t/spec/S32-num/rat.t
@@ -220,6 +220,9 @@ ok Rat.new() == 0, 'Rat.new() is 0';
ok 16/5 eqv 16/5, 'infix:<eqv> works with rats';
+# RT #72870
+is .88888888888.WHAT, 'Rat()', 'WHAT works on Rat created from 11 digit decimal fraction';
+
done_testing;
# vim: ft=perl6 |
Migrated from rt.perl.org#72870 (status was 'resolved')
Searchable as RT72870$
The text was updated successfully, but these errors were encountered: