tanh Function [AX 2012]

Updated: December 10, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Retrieves the hyperbolic tangent of a real number.


real tanh(real _arg)

Parameter

Description

_arg

The number for which to calculate the hyperbolic tangent.

The hyperbolic tangent of the specified real number.

The following example illustrates the tanh function.

static void tanhExample(Args _arg)
{
    real r;
    ;
    r = tanh(0.1);
    print "The hyperbolic tangent of angle 0.1 is " 
        + num2Str(r, 2, 10, 1, 1);
     pause;
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: