pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]

pow()


Method pow

int|float pow(float|int n, float|int x)
mixed pow(object n, float|int|object x)

Description

Return n raised to the power of x . If both n and x are integers the result will be an integer. If n is an object its pow method will be called with x as argument.

See also

exp() , log()

Module reference for Pike v7.8 release 116, 2008-12-31