Addition

From CANNY Wiki
Jump to: navigation, search
Appearance
5 6 1 2.png
Symbol
X + Y
Group
Arithmetic operations
Inputs
ValueX: Integer
ValueY: Integer
Outputs
Result: Integer
Version CANNY Lab
from 0.6b
Icon

Set the output as a result of the inputs numerical values arithmetic addition.


Features[edit]

16-bit addition, with overflow (modulo 65535). In other words, the result of addition can not exceed 65535, in case of inputs values sum exceeds the value of 65535, the result will be the expression: X + Y - 65536.

Examples[edit]

Example 1
Example 2

See also[edit]

Subtraction

Multiplication

Division

Built-in Function Blocks