2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
12 .. index:: trigonometric function, tangent, degrees
14 .. index:: tangent, degrees
16 TAND --- Tangent function, degrees
17 **********************************
21 ``TAND(X)`` computes the tangent of :samp:`{X}` in degrees.
24 The type shall be ``REAL`` or ``COMPLEX``.
27 The return value has same type and kind as :samp:`{X}`, and its value is in degrees.
30 GNU extension, enabled with :option:`-fdec-math`.
36 .. code-block:: fortran
41 .. code-block:: fortran
44 real(8) :: x = 0.165_8