** (power)
This is the exponent operator.
a ** b
will return a
b
if a
and b
are positive integers.
Savile Row will flag negative exponents (negative values of b
) as errors. However, conjure will not flag this as an error.
x ** y = x * (x ** (y-1))
holds if x
is an integer and y
is a positive integer.
This ensures that x ** 0 = 1
for all x
.
For more information see here.
See this in action here.