Type Function Library math.* Return value Number Revision Release 2022.3683 Keywords pow, power, exponent See also math.exp()
math.log()
Returns x^y^
. (You can also use the expression x^y
to compute this value.)
print(math.pow(100,0)) ----> 1 print(math.pow(7,2)) ----> 49 print(math.pow(2,8)) ----> 256