Subtraction

Classification Images
Name:
Subtraction

Symbol:
X - Y
Appearance:

Appearance.
*Group:**
Arithmetic operations

CannyLab version:
from 0.6b
Icon:

Icon.
Inputs
Input Value
Minuend: Integer
Subtrahend: Integer
Outputs
Output Value
Difference: Integer

General description

Set the output as a result of arithmetic subtraction of the numerical value of the second output from the first.

Features

16-bit subtraction, with overflow (modulo 65535). In other words, the result of subtraction can be negative number, in case of 2nd input value more than 1st input value, the result will be the expression: X - Y + 65536.

Examples

Example 1:

Example 1.

Example 2:

Example 2.

SEE ALSO