Re: [perl #132330] Sets can be equal even though their elements aren’t

2017-10-21 Thread Elizabeth Mattijsen
Which goes back to the behaviour of nqp::unbox_n(): $ 6 'use nqp; say nqp::unbox_n(1e0); say nqp::unbox_n(1e0 + 4e-15)' 1 1 > On 21 Oct 2017, at 11:30, Elizabeth Mattijsen wrote: > > The problem is that both these values have the same .WHICH: > > $ 6 'say 1e0.WHICH; say (1e0 + 4e-15).WHICH' >

Re: [perl #132330] Sets can be equal even though their elements aren’t

2017-10-21 Thread Elizabeth Mattijsen
The problem is that both these values have the same .WHICH: $ 6 'say 1e0.WHICH; say (1e0 + 4e-15).WHICH' Num|1 Num|1 Nothing to do with Sets/Bags/Mixes/object hashes. > On 20 Oct 2017, at 17:02, Victor ADAM (via RT) > wrote: > > # New Ticket Created by Victor ADAM > # Please include the str

[perl #132330] Sets can be equal even though their elements aren’t

2017-10-20 Thread via RT
# New Ticket Created by Victor ADAM # Please include the string: [perl #132330] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132330 > How to reproduce perl6 -e 'my ($a, $b) = set(1e0), set(1e0 + 4e-15); say