FP_DIV

Divide floating-point numbers

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

xcall FP_DIV(result, operand1, operand2)

result

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

operand1

The dividend. (a8)

operand2

The divisor. (a8)

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.

See Sample program.