XL Fortran for AIX 8.1

Language Reference


TAN(X)

Tangent function.

X
must be of type real.

Class

Elemental function

Result Type and Attributes

Same as X.

Result Value

The result approximates tan(X), where X has a value in radians.

Examples

TAN (1.0) has the value 1.5574077 (approximately).


Specific Name Argument Type Result Type Pass As Arg?
TAN default real default real yes
DTAN double precision real double precision real yes
QTAN 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 ]