FP_ADD

Add floating-point numbers

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

xcall FP_ADD(result, operand1, operand2)

result

Returned with the result of adding operand1 and operand2. (a8)

operand1

The first operand to be added. (a8)

operand2

The second operand to be added. (a8)

The FP_ADD subroutine adds two floating-point numbers together.

The following equation is performed:

result = operand1 + operand2

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