Method: Flt::CDCFormat.encode_exponent
- Defined in:
- lib/float-formats/formats.rb
.encode_exponent(e, mode) ⇒ Object
:nodoc:
383 384 385 386 387 |
# File 'lib/float-formats/formats.rb', line 383 def self.encode_exponent(e,mode) ee = super ee -= 1 if e<0 ee end |