[perl #128912] [BUG] decimal->float bad rounding

2018-03-25 Thread Zoffix Znet via RT
On Fri, 12 Aug 2016 09:46:38 -0700, zef...@fysh.org wrote: > > (9.999e-5 * 2e0**66).Int * 5**8 - * 2**58 > 287369 > > (9.99895e-5 * 2e0**66).Int * 5**8 - * 2**58 > -103256 > > The above computations show, scaled up, the difference between a Num value > and the exact value

[perl #128912] [BUG] decimal->float bad rounding

2018-03-25 Thread Zoffix Znet via RT
On Fri, 12 Aug 2016 09:46:38 -0700, zef...@fysh.org wrote: > > (9.999e-5 * 2e0**66).Int * 5**8 - * 2**58 > 287369 > > (9.99895e-5 * 2e0**66).Int * 5**8 - * 2**58 > -103256 > > The above computations show, scaled up, the difference between a Num value > and the exact value

Re: [perl #128912] [BUG] decimal->float bad rounding

2016-11-22 Thread Zefram
Will Coleda via RT wrote: >as of b5aa3c5, these both output 287369 now. For clarity, that's still bad rounding, then. -zefram

[perl #128912] [BUG] decimal->float bad rounding

2016-11-18 Thread Will Coleda via RT
On Fri, 12 Aug 2016 09:46:38 -0700, zef...@fysh.org wrote: > > (9.999e-5 * 2e0**66).Int * 5**8 - * 2**58 > 287369 > > (9.99895e-5 * 2e0**66).Int * 5**8 - * 2**58 > -103256 > > The above computations show, scaled up, the difference between a Num value > and the exact value

[perl #128912] [BUG] decimal->float bad rounding

2016-08-12 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #128912] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128912 > > (9.999e-5 * 2e0**66).Int * 5**8 - * 2**58 287369 > (9.99895e-5 *