class Rational: b (b>0), where a is the numerator and b is the denominator. mathematically.| docs.ruby-lang.org
class Float: A \Float object represents a sometimes-inexact real number using the native architecture's double-precision floating point representation. Floating po| docs.ruby-lang.org