Method: Flt::FormatBase.decimal_max_exp

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

.decimal_max_expObject

Maximum integer such that 10 raised to that power is in the range of the normalised floating point numbers



508
509
510
511
# File 'lib/float-formats/classes.rb', line 508

def self.decimal_max_exp
  (radix_max_exp(:fractional_significand)*radix_log10+(1-radix_power(-significand_digits))*radix_log10).floor
  #(Math.log((1-radix**(significand_digits))*radix**radix_max_exp(:fractional_significand))/Math.log(10)).floor
end