This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "Addition"
From CANNY Wiki
[unchecked revision] | [unchecked revision] |
(Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Appearance |- |colspan="2" align="center" style="...") |
|||
Line 41: | Line 41: | ||
<div> | <div> | ||
− | Set the output result of the inputs numerical values arithmetic addition . | + | Set the output result of the inputs numerical values arithmetic addition. |
</div> | </div> | ||
</div> | </div> | ||
Line 48: | Line 48: | ||
== Features == | == Features == | ||
16-bit addition, with overflow (modulo 65535). | 16-bit addition, with overflow (modulo 65535). | ||
− | In other words, the result of addition can not exceed 65535, in case of inputs values sum is exceeds the value, the result will be the expression: X + Y - 65536. | + | In other words, the result of addition can not exceed 65535, in case of inputs values sum is exceeds the value of 65535, the result will be the expression: X + Y - 65536. |
== Examples == | == Examples == |
Revision as of 06:37, 23 November 2015
Appearance | |
---|---|
Изображение:5_5_2_2.png | |
Symbol | |
X + Y | |
Group | |
Arithmetic operations | |
Inputs | |
ValueX: | Numeric |
ValueY: | Numeric |
Outputs | |
Result: | Numeric |
Version CANNY Lab | |
from 0.6b |
Set the output result of the inputs numerical values arithmetic addition.
Features
16-bit addition, with overflow (modulo 65535). In other words, the result of addition can not exceed 65535, in case of inputs values sum is exceeds the value of 65535, the result will be the expression: X + Y - 65536.
Examples
thumb|Пример 1 | thumb|Пример 2 |