FP_SUB

Subtract floating-point numbers

WTSupported in traditional Synergy on Windows

 

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

Arguments

result

Returned with the result of subtracting operand2 from operand1. (a8)

operand1

The operand to subtract from. (a8)

operand2

The operand to subtract. (a8)

Discussion

The FP_SUB subroutine subtracts one floating-point number from another.

The following equation is performed:

result = operand1operand2

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

Examples

See Sample program.