TanH (open)

Returns the hyperbolic tangent of a value.

Syntax

LOADLIB "wh::float.whlib";

FLOAT FUNCTION TanH(FLOAT value)

Parameters

FLOAT value

The FLOAT value from which to determine the hyperbolic tangent

Return value

FLOAT

The hyperbolic tangent of @italic value

Examples

// The FLOAT value will be 0.4621...
FLOAT f := TanH(0.5);