Warning: The following versions of Ruby have reached End of Life and are no longer supported
Raised when attempting to convert special float values (in particular infinite or NaN) to numerical classes which don't support them.
infinite
NaN
Float::INFINITY.to_r #=> FloatDomainError: Infinity