Log

From Dragon Age Toolset Wiki
Revision as of 01:04, 11 February 2010 by BryanDerksen (Talk | contribs) (looks okay, removing tag)

Jump to: navigation, search

Returns the log of a float.

float log(
float fValue
);
Parameters:
fValue
The floating point number to calculate the natural log of
Returns:

Returns the natural log of fValue, 0 on error.

Source:

script.ldf

Description

Returns the natural logarithm of the float fValue.

Remarks

The log function only exists for values > 0.0f, a value of 0.0f or less will return 0.0f.