Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

ATAND

Elemental Intrinsic Function (Generic): Produces the arctangent of x in degrees.

It can take one of the following forms:

result = ATAND (x)

-or-

result = ATAND (y, x)

y

(Input; optional) If specified, it must be of type real and have the same KIND parameter as x.

x

(Input) Must be of type real. If y appears and has the value 0.0, x must not have the value 0.0.

Results

If y appears, the result is the same as the result of ATAN2D (y, x). Otherwise, the result type and kind are the same as x and are expressed in degrees between ±90°.

There are no specific names for the two argument form of this function.

Specific Name

Argument Type

Result Type

ATAND (x)

REAL(4)

REAL(4)

DATAND (x)

REAL(8)

REAL(8)

QATAND (x)

REAL(16)

REAL(16)

Example

ATAND (0.0874679) has the value 4.998819.