Method: Flt::FormatBase.max_value
- Defined in:
- lib/float-formats/classes.rb
.max_value(sign = +1) ⇒ Object
Greatest finite normalized floating point number in the representation. It can be made negative by passing the sign (a so this would be the smallest finite number).
721 722 723 724 725 726 |
# File 'lib/float-formats/classes.rb', line 721 def self.max_value(sign=+1) s = sign m = maximum_integral_significand e = radix_max_exp(:integral_significand) return_value s,m,e, false end |