TAND (The GNU Fortran Compiler)

### 8.280 `TAND` — Tangent function, degrees ¶

Synopsis:

  `RESULT = TAND(X)`

Description:

  `TAND(X)` computes the tangent of X in degrees.

Class:

  Elemental function

Arguments:

  X | The type shall be `REAL`.

Return value:

  The return value has same type and kind as X.

Example:

      program test_tand
        real(8) :: x = 45_8
        x = tand(x)
      end program test_tand

Specific names:

  Name | Argument | Return type | Standard
  --- | --- | --- | ---
  `TAND(X)` | `REAL(4) X` | `REAL(4)` | Fortran 2023
  `DTAND(X)` | `REAL(8) X` | `REAL(8)` | GNU extension

Standard:

  Fortran 2023

See also:

  Inverse function:
  `ATAND` — Arctangent function, degrees
  Radians function:
  `TAN` — Tangent function