Re: [perl #128817] [BUG] Num.perl doesn't round-trip numeric value [Request: ET-10405 is created]

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

[perl #128817] [BUG] Num.perl doesn't round-trip numeric value

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 09:51:31 -0700, zef...@fysh.org wrote: > > (1180591620717411303424.0e0).Int > 1180591620717411303424 > > (1180591620717411303424.0e0).perl.EVAL.Int > 1180591620717409992704 > > The .perl.EVAL process ought to yield the same value we started with. > It's coming back as a

Re: [perl #128817] [BUG] Num.perl doesn't round-trip numeric value

2016-08-19 Thread Zefram
Additional: the same problem arises with Complex.perl, where the real or imaginary parts suffer this problem as Nums. Fixing this for Num won't automatically fix it for Complex, because Complex.perl doesn't invoke Num.perl. -zefram

Re: [perl #128817] [BUG] Num.perl doesn't round-trip numeric value

2016-08-02 Thread Patrick R. Michaud
On Tue, Aug 02, 2016 at 07:32:56PM +0100, Zefram wrote: > Patrick R. Michaud via RT wrote: > >I don't know that we should expect .perl or any other operation on Num > >values to be preserving more precision than that. > > I'd expect .perl to preserve whatever precision is there. Accurately >

Re: [perl #128817] [BUG] Num.perl doesn't round-trip numeric value

2016-08-02 Thread Zefram
Patrick R. Michaud via RT wrote: >I don't know that we should expect .perl or any other operation on Num >values to be preserving more precision than that. I'd expect .perl to preserve whatever precision is there. Accurately representing the value, in a form understandable by .EVAL, is its

[perl #128817] [BUG] Num.perl doesn't round-trip numeric value

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