Method: Flt::FormatBase.nan

Defined in:
lib/float-formats/classes.rb

.nanObject

Floating point representation of Not-a-Number.



817
818
819
820
821
822
823
# File 'lib/float-formats/classes.rb', line 817

def self.nan
  if @nan_encoded_exp
    return_value(+1, 0, :nan)
  else
    nil
  end
end