This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "Subtraction"
From CANNY Wiki
[unchecked revision] | [unchecked revision] |
(→Features) |
|||
Line 41: | Line 41: | ||
<div> | <div> | ||
− | Set the output | + | Set the output as a result of arithmetic subtraction of the numerical value of the second output from the first. |
</div> | </div> | ||
</div> | </div> |
Latest revision as of 08:38, 8 April 2016
Appearance | |
---|---|
Symbol | |
X - Y | |
Group | |
Arithmetic operations | |
Inputs | |
ValueX: | Integer |
ValueY: | Integer |
Outputs | |
Result: | Integer |
Version CANNY Lab | |
from 0.6b |
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.