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

[Top]

sqrt()


Method sqrt

float sqrt(float f)
int sqrt(int i)
mixed sqrt(object o)

Description

Returns the square root of f , or in the integer case, the square root truncated to the closest lower integer. If the argument is an object, the lfun _sqrt in the object will be called.

See also

pow() , log() , exp() , floor() , lfun::_sqrt

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