14 lines
147 B
Ruby
14 lines
147 B
Ruby
module Math
|
|
|
|
# `x` to the power `y`.
|
|
def self.pow(x, y)
|
|
x ** y
|
|
end
|
|
|
|
# `x` to the power `y`.
|
|
def self.pwr(x, y)
|
|
x ** y
|
|
end
|
|
|
|
end
|