Think Ruby has a floating-point bug? Think again.
Learn why decimal numbers behave this way, why the Ruby issue tracker links to a classic 1991 paper, and how to choose between Float, BigDecimal, and Rational.
ruby #codingMade a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Learn why decimal numbers behave this way, why the Ruby issue tracker links to a classic 1991 paper, and how to choose between Float, BigDecimal, and Rational.
ruby #coding
Post a comment