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
Jump to: navigation, search
[unchecked revision][unchecked revision]
Line 19: Line 19:
 
|-
 
|-
 
|style="padding-left:1em;"|ValueX:
 
|style="padding-left:1em;"|ValueX:
|style="padding-left:1em;"|[[CFD Language#Data|Numeric]]
+
|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|Numeric]]
+
|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|Numeric]]
+
|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;">
[[Изображение:5_6_3_1.png|left|Иконка]]
+
[[File:5_6_3_1.png|left|Icon]]
 
</div>
 
</div>
  

Revision as of 10:07, 23 November 2015

Appearance
5 5 2 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 result of the inputs numerical values arithmetic multiplication.


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 is exceeds the value of 65535, the result will be the remainder of the division of this multiplication on 65536.

Examples

Example 1
Example 2

See also

Addition

Subtraction

Division

Built-in Function Blocks