FP_DIV

Divide floating-point numbers

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
xcall FP_DIV(result, operand1, operand2)

Arguments

result

Returned with the result of dividing operand1 by operand2. (a8)

operand1

The dividend. (a8)

operand2

The divisor. (a8)

Discussion

The FP_DIV subroutine divides one floating-point number by another.

The following equation is performed:

result = operand1 / operand2

Result, operand1, and operand2 are native floating-point numbers represented as a8 variables.

Examples

See Sample program.