0

pow

To calculate the power of a number

The function returns the power of a base number using the exponent. If the exponent has the value 0.5, the result is the root of the base number.

Syntax

pow(number, number)

Return

number

Examples

pow(x,y) To calculate the power of a base x using the exponent y.

pow(4,3) 

Result: 64

pow(64,0.5) 

Result: 8

pow(64,1/3) 

Result: 3.9999999999999996

1 reply

null
    • Pieter_Jelle_Biesheuvel
    • 3 days ago
    • Reported - view

    pow(2,1023) is max