Elemental Intrinsic Function (Generic): Produces the arctangent of x.
Syntax
Results
The result type is the same as x and is expressed in radians. The value lies in the range -pi/2 to pi/2.
| Specific Name | Argument Type | Result Type |
|---|---|---|
| ATAN | REAL(4) | REAL(4) |
| DATAN | REAL(8) | REAL(8) |
| QATAN | REAL(16) | REAL(16) |
Example
ATAN (1.5874993) has the value 1.008666.