Class: Float

Inherits:
Object
  • Object
show all
Defined in:
lib/plusminus.rb

Instance Method Summary collapse

Instance Method Details

#deltaObject



30
31
32
# File 'lib/plusminus.rb', line 30

def delta
  10**-Float::DIG
end

#to_pmObject



26
27
28
# File 'lib/plusminus.rb', line 26

def to_pm
  Plusminus::PlusminusFloat.new self, 10.0**-Float::DIG
end