lib/standard/facets/math/root.rb in facets-2.9.3 vs lib/standard/facets/math/root.rb in facets-3.0.0
- old
+ new
@@ -1,7 +1,7 @@
module Math
- # The +y+ root of +x+.
+ # The `y` root of `x`.
def self.root(x, y)
x ** (1.0 / y)
end
end