FP_COS

Return the cosine of a floating-point number

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

xcall FP_COS(result, operand)

result

Returned with the cosine of operand. (a8)

operand

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

The FP_COS subroutine returns the cosine of a floating-point number.

The following operation is performed:

result = cos(operand)

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