SHIP:Sail:pow

From Serious Documentation
Jump to: navigation, search
Function Returns Introduced Description
pow Float v5.1.0 Calculates x to the power of y (x^y)

See Also:

Prototype

Float pow(Float/Integer x, Integer y);

Parameters/Return Value

Parameter Data Type Description
x Integer the base number
y Integer the power value
Return Float the result of x^y;

Detailed Description

The pow() function returns x to the power of y (x^y).

Examples

Example Result Notes
pow(2, 5); 32.0...
pow(3.5f, 5); 525.21875...