cot
- Date:
10-12-2011
NAME
COT, COTAN, DCOT, DCOTAN - Compute cotangent
SYNOPSIS
COT ([X=]x)
COTAN ([X=]x)
DCOT ([X=]x)
DCOTAN ([X=]x)
IMPLEMENTATION
Cray Linux Environment (CLE)
STANDARDS
Fortran extensions
DESCRIPTION
COT is the generic function name; the others are specifics. They are elemental intrinsic functions. They accept the following argument:
- x
Must be of type real. The type and kind type of x is identical to the type and kind type of the return value. See the RETURN VALUES section for more information on input data types and return values.
These functions evaluate y = COT(x).
NOTES
The COT and DCOT intrinsic function names can be passed as arguments; the others cannot.
RETURN VALUES
COT(x) returns NaN, if one of the following is true:
|x| > pi * 225
x = NaN
COT and COTAN return the single-precision real cotangent of their single-precision real arguments.
DCOT and DCOTAN return the double-precision real cotangent of their double-precision real arguments.