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.1.0
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.