17 18 19 20 21 22 23
# File 'lib/pulo/quantity/numeric_overloads.rb', line 17 def sqrt(val) if val.is_a?(Pulo::Quantity) val.rt(2) else self.old_sqrt(val) end end