Ninja Library - Mathematical Function
njInvertSqrt
Returns the inverse square root
FORMAT
Float njInvertSqrt( n )
Float n
PARAMETER
n
Arbitrary real number
RETURN
Inverse square root
DESCRIPTION
Determines the inverse square root (1/square root) of arbitrary real number n and returns the value found as the result.
EXAMPLE
ans = njInvertSqrt( -3.14159265f ); % Result % ans = -0.564190
NOTE
If arbitrary real number n is negative, the negative value of the inverse square root of the absolute value of n is returned.
REFERENCE
njSqrt
()
njInvertSqrt
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999