[perl #131717] [BUG] incorrect sum for large numbers

2017-07-08 Thread Brian Duggan via RT
On Fri, 07 Jul 2017 19:24:48 -0700, c...@zoffix.com wrote: > [..] I'm going to reject both tickets as not a bug. > It's just a natural outcome of treating limited-precision numbers as > 100% precise and getting the prize of floating point noise in return. Sounds good to me! Brian

[perl #131717] [BUG] incorrect sum for large numbers

2017-07-07 Thread Zoffix Znet via RT
On Fri, 07 Jul 2017 17:37:46 -0700, bdug...@matatu.org wrote: > I realized this occurs since 1e100 is a Num rather than an Int (and > summing to e.g. 10¹⁰⁰ works fine). It could be argued that this is > not a bug since Nums are not arbitrary precision. Yeah, I missed you in the IRC channel with t

[perl #131717] [BUG] incorrect sum for large numbers

2017-07-07 Thread Zoffix Znet via RT
On Fri, 07 Jul 2017 17:37:46 -0700, bdug...@matatu.org wrote: > I realized this occurs since 1e100 is a Num rather than an Int (and > summing to e.g. 10¹⁰⁰ works fine). It could be argued that this is > not a bug since Nums are not arbitrary precision. Yeah, I missed you in the IRC channel with t

[perl #131717] [BUG] incorrect sum for large numbers

2017-07-07 Thread via RT
# New Ticket Created by Brian Duggan # Please include the string: [perl #131717] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131717 > $ perl6 -e 'say [+] 1..1e100' 50001590289110975991817328705368083504703036502