Method: Math.log

Defined in:
lib/math.rb

.log(n) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/math.rb', line 13

def log(n)
  if Uncertain == n
    Uncertain.new(uncertain_log(n.value),n.uncertainty/n.value)
  else
    uncertain_log(n)
  end
end