FP_SQRT

Get the square root of a floating-point number

WTSupported in traditional Synergy on Windows

 

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

Arguments

result

Returned with the result of taking the square root of operand. (a8)

operand

An operand whose square root will be returned. (a8)

Discussion

The FP_SQRT subroutine returns the square root of a floating-point number.

The following equation is performed:

result = sqrt(operand)

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

Examples

See Sample program.