[perl #129829] .pick on large ranges returns binary-sparse result

2017-09-22 Thread Brian S. Julin via RT
On Mon, 10 Oct 2016 04:29:33 -0700, elizabeth wrote: > > On 10 Oct 2016, at 05:19, Zoffix Znet via RT > follo...@perl.org> wrote: > > > > Looks like libtommath has now been fixed: > > https://github.com/libtom/libtommath/pull/57 > > > > On Sat Oct 08 14:47:40 2016, timo wrote: > >> Apparently libt

Re: [perl #129829] .pick on large ranges returns binary-sparse result

2016-10-10 Thread Elizabeth Mattijsen
> On 10 Oct 2016, at 05:19, Zoffix Znet via RT > wrote: > > Looks like libtommath has now been fixed: > https://github.com/libtom/libtommath/pull/57 > > On Sat Oct 08 14:47:40 2016, timo wrote: >> Apparently libtommath is known to leave some bits 0 when specific >> conditions for the defines a

[perl #129829] .pick on large ranges returns binary-sparse result

2016-10-09 Thread Zoffix Znet via RT
Looks like libtommath has now been fixed: https://github.com/libtom/libtommath/pull/57 On Sat Oct 08 14:47:40 2016, timo wrote: > Apparently libtommath is known to leave some bits 0 when specific > conditions for the defines are met; i haven't looked but i suspect we > are hitting exactly this pr

Re: [perl #129829] .pick on large ranges returns binary-sparse result

2016-10-08 Thread Timo Paulssen
Apparently libtommath is known to leave some bits 0 when specific conditions for the defines are met; i haven't looked but i suspect we are hitting exactly this problem: https://github.com/libtom/libtommath/pull/56 not sure why it's been quiet since april.

Re: [perl #129829] .pick on large ranges returns binary-sparse result

2016-10-08 Thread Elizabeth Mattijsen
> On 07 Oct 2016, at 21:28, Patrick R. Michaud wrote: > > On Fri, Oct 07, 2016 at 12:18:43PM -0700, Aaron Sherman wrote: >> [15:12] m: say ((2**80) ..^ (2**81)).pick.base(2) >> [15:12] <+camelia> rakudo-moar 605f27: >> OUTPUT«1000111011001001100100010101101011

Re: [perl #129829] .pick on large ranges returns binary-sparse result

2016-10-08 Thread Elizabeth Mattijsen
> On 07 Oct 2016, at 21:28, Patrick R. Michaud wrote: > > On Fri, Oct 07, 2016 at 12:18:43PM -0700, Aaron Sherman wrote: >> [15:12] m: say ((2**80) ..^ (2**81)).pick.base(2) >> [15:12] <+camelia> rakudo-moar 605f27: >> OUTPUT«100011101100100110010001010110101

Re: [perl #129829] .pick on large ranges returns binary-sparse result

2016-10-08 Thread Elizabeth Mattijsen
> On 07 Oct 2016, at 21:28, Patrick R. Michaud wrote: > > On Fri, Oct 07, 2016 at 12:18:43PM -0700, Aaron Sherman wrote: >> [15:12] m: say ((2**80) ..^ (2**81)).pick.base(2) >> [15:12] <+camelia> rakudo-moar 605f27: >> OUTPUT«100011101100100110010001010110101

Re: [perl #129829] .pick on large ranges returns binary-sparse result

2016-10-07 Thread Patrick R. Michaud
On Fri, Oct 07, 2016 at 12:18:43PM -0700, Aaron Sherman wrote: > [15:12] m: say ((2**80) ..^ (2**81)).pick.base(2) > [15:12] <+camelia> rakudo-moar 605f27: > OUTPUT«100011101100100110010001010110101101010011001␤» > > The middle part is always a large number of

[perl #129829] .pick on large ranges returns binary-sparse result

2016-10-07 Thread via RT
# New Ticket Created by Aaron Sherman # Please include the string: [perl #129829] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129829 > >From IRC: [15:12] m: say ((2**80) ..^ (2**81)).pick.base(2) [15:12] <+camelia> rakudo