Method: Math.sqrt

Defined in:
lib/math.rb

.sqrt(n) ⇒ Object



22
23
24
25
26
27
28
# File 'lib/math.rb', line 22

def sqrt(n)
  if Uncertain === n
    n**(0.5)
  else
    uncertain_sqrt(n)
  end
end