XL Fortran for AIX 8.1

Language Reference


TANH(X)

Hyperbolic tangent function.

X
must be of type real.

Class

Elemental function

Result Type and Attributes

Same as X.

Result Value

The result has a value equal to tanh(X).

Examples

TANH (1.0) has the value 0.76159416 (approximately).


Specific Name Argument Type Result Type Pass As Arg?
TANH default real default real yes
DTANH double precision real double precision real yes
QTANH REAL(16) REAL(16) yes (1)

Notes:

  1. IBM Extension: the ability to pass the name as an argument.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]