FloatDomainError
ruby FloatDomainError
A subclass of RangeError raised for mathematically undefined Float operations, such as converting Float::INFINITY or Float::NAN to an Integer.
A subclass of RangeError raised for mathematically undefined Float operations, such as converting Float::INFINITY or Float::NAN to an Integer.