WormAIDev  Worm SELF_VERSION
 All Classes Files Functions Variables Pages
Static Public Member Functions | List of all members
WormMath Class Reference

Define the WormMath class which holds the static math functions. More...

Static Public Member Functions

static function Sqrt (i)
 Computes square root of i using Babylonian method.

Detailed Description

Define the WormMath class which holds the static math functions.

Member Function Documentation

function WormMath::Sqrt ( )
static

Computes square root of i using Babylonian method.

Parameters
iThe integer number to compute the square root of.
Returns
The highest integer that is lower or equal to the square root of integer i.
Note
Taken from Rondje om de kerk

The documentation for this class was generated from the following file: