This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "Multiplication"
From CANNY Wiki
[unchecked revision] | [unchecked revision] |
(3 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
!colspan="2" style="background-color:#AFEEEE;"|Appearance | !colspan="2" style="background-color:#AFEEEE;"|Appearance | ||
|- | |- | ||
− | |colspan="2" align="center" style="padding:10px;"|[[File: | + | |colspan="2" align="center" style="padding:10px;"|[[File:5_6_3_2.png]] |
|- | |- | ||
!colspan="2" style="background-color:#AFEEEE;"|Symbol | !colspan="2" style="background-color:#AFEEEE;"|Symbol | ||
Line 19: | Line 19: | ||
|- | |- | ||
|style="padding-left:1em;"|ValueX: | |style="padding-left:1em;"|ValueX: | ||
− | |style="padding-left:1em;"|[[CFD Language#Data| | + | |style="padding-left:1em;"|[[CFD Language#Data|Integer]] |
|- | |- | ||
|style="padding-left:1em;"|ValueY: | |style="padding-left:1em;"|ValueY: | ||
− | |style="padding-left:1em;"|[[CFD Language#Data| | + | |style="padding-left:1em;"|[[CFD Language#Data|Integer]] |
|- | |- | ||
!colspan="2" style="background-color:#AFEEEE;"|Outputs | !colspan="2" style="background-color:#AFEEEE;"|Outputs | ||
|- | |- | ||
|style="padding-left:1em;"|Result: | |style="padding-left:1em;"|Result: | ||
− | |style="padding-left:1em;"|[[CFD Language#Data| | + | |style="padding-left:1em;"|[[CFD Language#Data|Integer]] |
|- | |- | ||
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]] | !colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]] | ||
Line 37: | Line 37: | ||
<div style="min-height:100%;display:block;"> | <div style="min-height:100%;display:block;"> | ||
<div style="float:left;width:70px;"> | <div style="float:left;width:70px;"> | ||
− | [[ | + | [[File:5_6_3_1.png|left|Icon]] |
</div> | </div> | ||
<div> | <div> | ||
− | Set the output result of the inputs numerical values arithmetic multiplication. | + | Set the output as a result of the inputs numerical values arithmetic multiplication. |
</div> | </div> | ||
</div> | </div> | ||
Line 47: | Line 47: | ||
== Features == | == Features == | ||
− | 16-bit multiplication, with overflow (modulo 65535). In other words, the result of multiplication can not exceed 65535, in case of inputs values multiplication | + | 16-bit multiplication, with overflow (modulo 65535). In other words, the result of multiplication can not exceed 65535, in case of inputs values multiplication exceeds the value of 65535, the result will be the remainder of the division of this multiplication on 65536. |
== Examples == | == Examples == |
Latest revision as of 08:39, 8 April 2016
Appearance | |
---|---|
Symbol | |
X * Y | |
Group | |
Arithmetic operations | |
Inputs | |
ValueX: | Integer |
ValueY: | Integer |
Outputs | |
Result: | Integer |
Version CANNY Lab | |
from 0.6b |
Features
16-bit multiplication, with overflow (modulo 65535). In other words, the result of multiplication can not exceed 65535, in case of inputs values multiplication exceeds the value of 65535, the result will be the remainder of the division of this multiplication on 65536.