Calculates the hyperbolic tangent of a value.
Syntax
Result = SRP_Math("TANH", Value, "", DecimalPlaces, ScientificNotation)
Returns
The hyperbolic tangent of Value.
Remarks
The TANH operation computes the hyperbolic tangent of Value. Value can be any number, so no error is generated for this operation.
The result is in the range −1 < result < 1
Example
// Calculate the hyperbolic tangent of Log2 Val = "0.227064512498507649434129923403947" Result = SRP_Math("TANH", Val) !! Result = 0.2232409939426686718165667585094024 !!
// Calculate the hyperbolic tangent of PI Val = "3.1415926535897932384626433832795" Result = SRP_Math("TANH", Val) !! Result = 0.996272076220749944264690580012537 !!