pow(this,value)
.
The parameter {@code n} must be in the range 0 through999999999, inclusive. {@code ZERO.pow(0)} returns {@link #ONE}. Note that future releases may expand the allowable exponent range of this method. @param n power to raise this {@code BigDecimal} to. @return thisn @throws ArithmeticException if {@code n} is out of range. @since 1.5
yx = exp(x·log(y))
where {@code exp} and {@code log} are {@link #exp} and{@link #log}, respectively. this{@code x}
.
@throws NullArgumentException if x is {@code null}.
@since 1.2
null
if they're invalid
@see #toNumber
Each operand must derive from {@link LuaNumber}or derive from {@link LuaString} and be convertible to a number @param rhs The power to raise this value to @return value of {@code (this ^ rhs)} if both are numeric, or {@link LuaValue} if metatag processing occurs @throws LuaError if either operand is not a number or string convertible to number, and neither has the {@link POW} metatag defined @see #arithmt(LuaValue,LuaValue)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|