RangeError
Raised when attempting to convert special float values (in particular Infinity or NaN) to numerical classes which don't support them.
Infinity
NaN
Float::INFINITY.to_r #=> FloatDomainError: Infinity
This page was generated for Ruby 3.0.0
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.