in reply to Re: Small Perl 6 discoveries III, Ints
in thread Small Perl 6 discoveries III, Ints
... there is an up-to-date document on how to report bugs in it on the github project wiki just in case anyone feels like getting more involved
Not that I really wanted to get involved, but I was a little curious about the status of some of the issues raised in this thread.
So, last night, I submitted a bug report that referred to 2 of the issues raised here:
1) that perl6 evaluates '1.000000000000001e0 == 1e0' as true;
2) that perl6 produces different outputs for 'Int(2e25)' and 'Int(20e24)'.
Turns out that the second is the result of a known issue with perl6's way of constructing Nums ... not so sure that the first one is exactly the same issue.
Anyway, Zoffix Znet's reply to the bug report informs us that these bugs will be fixed, though it's presently not all that high on the list of priorities.
Seems that perl6 assigns 2e25 as 2 * 1e25, but assigns 20e24 as 20 * 1e24. Hence the discrepancy.
Cheers,
Rob
Not that I really wanted to get involved, but I was a little curious about the status of some of the issues raised in this thread.
So, last night, I submitted a bug report that referred to 2 of the issues raised here:
1) that perl6 evaluates '1.000000000000001e0 == 1e0' as true;
2) that perl6 produces different outputs for 'Int(2e25)' and 'Int(20e24)'.
Turns out that the second is the result of a known issue with perl6's way of constructing Nums ... not so sure that the first one is exactly the same issue.
Anyway, Zoffix Znet's reply to the bug report informs us that these bugs will be fixed, though it's presently not all that high on the list of priorities.
Seems that perl6 assigns 2e25 as 2 * 1e25, but assigns 20e24 as 20 * 1e24. Hence the discrepancy.
Cheers,
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Small Perl 6 discoveries III, Ints
by Anonymous Monk on Oct 12, 2017 at 14:42 UTC | |
by syphilis (Archbishop) on Oct 13, 2017 at 07:53 UTC |
In Section
Seekers of Perl Wisdom