General

Profile

boone (Mike Boone)

  • Login: boone
  • Registered on: 06/26/2008
  • Last sign in: 03/23/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/05/2014

04:56 PM Ruby Bug #9595: Float#to_d inconsistent between 2.0.0 and 2.1.1
I did come across this Github PR (https://github.com/ruby/ruby/pull/323) which changed the default precision on Float#to_d.
If 2.1.1 is the proper behavior and compatibility with the behavior of 2.0.0 is not desired, please close this...
boone (Mike Boone)
04:22 PM Ruby Bug #9595 (Rejected): Float#to_d inconsistent between 2.0.0 and 2.1.1
The following code produces different BigDecimal results in 2.0.0 vs. 2.1.1:
require 'big decimal'
require 'bigdecimal/util'
(1/1.3667).to_d

2.0.0 returns: #<BigDecimal:7fa7fc04dc28,'0.7316894709 885124E0',18(4...
boone (Mike Boone)

Also available in: Atom