Type Function Library math.* Return value Number Revision Current Public Release (2018.3326) 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 |