flt.nan? â true or false
Instance Public methods
Returns true
if flt is an invalid IEEE floating point
number.
a = -1.0 #=> -1.0 a.nan? #=> false a = 0.0/0.0 #=> NaN a.nan? #=> true
Returns true
if flt is an invalid IEEE floating point
number.
a = -1.0 #=> -1.0 a.nan? #=> false a = 0.0/0.0 #=> NaN a.nan? #=> true
Please login to continue.