Re: [perl #128820] [BUG] == on Num literals produces bogus answer [Request: ET-9759 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544215 

Re: [perl #128820] [BUG] == on Num literals produces bogus answer [Request: ET-9760 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544216 

[perl #128820] [BUG] == on Num literals produces bogus answer

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 10:55:34 -0700, zef...@fysh.org wrote: > > 1180591620717411303424e0 == 1180591620717409992704e0 > True > > 1180591620717411303424e0 === 1180591620717409992704e0 > True > > Say what? These are distinct Num values, differing by 10 ulp. > These literals work fine in other

[perl #128820] [BUG] == on Num literals produces bogus answer

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 10:55:34 -0700, zef...@fysh.org wrote: > > 1180591620717411303424e0 == 1180591620717409992704e0 > True > > 1180591620717411303424e0 === 1180591620717409992704e0 > True > > Say what? These are distinct Num values, differing by 10 ulp. > These literals work fine in other

Re: [perl #128820] [BUG] == on Num literals produces bogus answer

2016-08-19 Thread Zefram
Additional: this also happens with Complex literals, where the real or imaginary parts suffer this as Nums. -zefram

Re: [perl #128820] [BUG] == on Num literals produces bogus answer

2016-08-02 Thread Zefram
Patrick R. Michaud via RT wrote: >It's not universally true that Num literals like these "work fine >in other contexts" -- the pair of literals in the example given "work" >because they differ in the fifteenth decimal digit of precision. Once again, you're mistakenly supposing my complaint to be

Re: [perl #128820] [BUG] == on Num literals produces bogus answer

2016-08-02 Thread Patrick R. Michaud
On Tue, Aug 02, 2016 at 10:55:34AM -0700, Zefram wrote: > These literals work fine in other contexts: > > > my $a = 1180591620717411303424e0 > 1.18059162071741e+21 > > my $b = 1180591620717409992704e0 > 1.18059162071741e+21 > > $a.Int > 1180591620717411303424 > > $b.Int > 1180591620717409992704 >

[perl #128820] [BUG] == on Num literals produces bogus answer

2016-08-02 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #128820] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128820 > > 1180591620717411303424e0 == 1180591620717409992704e0 True > 1180591620717411303424e0 ===