FP_TAN

Return the tangent of a floating-point number

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

xcall FP_TAN(result, operand)

result

Returned with the tangent of operand. (a8)

operand

The radian value whose tangent will be returned. (a8)

The FP_TAN subroutine returns the tangent of a floating-point number.

The following operation is performed:

result = tan(operand)

Result and operand are native floating-point numbers represented as a8 variables.