[UP]


Manual Reference Pages  - tan (3)

NAME

tan(3f) - [FORTRAN:INTRINSIC:TRIGONOMETRIC] Tangent function

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class
See Also

SYNTAX

result = tan(x)

DESCRIPTION

tan(x) computes the tangent of X.

ARGUMENTS

X - The type shall be REAL or COMPLEX.

RETURN VALUE

The return value has same type and kind as X.

EXAMPLE

Sample program:

   program demo_tan
     real(8) :: x = 0.165_8
     x = tan(x)
   end program demo_tan

STANDARD

[[FORTRAN 77]] and later. For a complex argument, [[Fortran 2008]] or later.

CLASS

[[Elemental function]]

SEE ALSO

[[atan]], [[cos]], [[sin]]


tan (3) March 19, 2019
Generated by manServer 1.08 from 976fdab0-2e7e-4889-9eee-4a419a7db330 using man macros.