Support for the Ruby 2.4 series has ended. See here for reference.
Object
When mathn is required, Integer's division is enhanced to return more precise values from mathematical expressions.
2/3*3 # => 0 require 'mathn' 2/3*3 # => 2 (2**72) / ((2**70) * 3) # => 4/3
This page was generated for Ruby 2.4.9
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.