FP_COS

Return the cosine of a floating‑point number

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
xcall FP_COS(result, operand)

Arguments

result

Returned with the cosine of operand. (a8)

operand

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

Discussion

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.