Method: Flt::FormatBase.min_normalized_value

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

.min_normalized_value(sign = +1) ⇒ Object

Smallest normalized floating point number greater than zero in the representation. It can be made negative by passing the sign.



729
730
731
732
733
734
735
# File 'lib/float-formats/classes.rb', line 729

def self.min_normalized_value(sign=+1)
  s = sign
  m = minimum_normalized_integral_significand
  e = radix_min_exp(:integral_significand)
  m += 1 if @hidden_bit && (@min_encoded_exp==@zero_encoded_exp)
  return_value s,m,e, true
end