Arithmetic combinator: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
[[File:ArithmeticSprite.png]] | [[File:ArithmeticSprite.png]] | ||
The arithmetic combinator is part of the | The arithmetic combinator is part of the circuit network and one of three types of combinators available in the game. It is used to perform simple mathematical operations on signals, capable of addition, subtraction, multiplication, or division. The arithmetic combinator accepts two input connections (red and green wires), and sends its output to both output connections. The input wires connect to the nubs on the left side of the above sprite, while the output is on the opposite side. | ||
==Function== | ==Function== |
Revision as of 04:36, 21 October 2015
The arithmetic combinator is part of the circuit network and one of three types of combinators available in the game. It is used to perform simple mathematical operations on signals, capable of addition, subtraction, multiplication, or division. The arithmetic combinator accepts two input connections (red and green wires), and sends its output to both output connections. The input wires connect to the nubs on the left side of the above sprite, while the output is on the opposite side.
Function
The internal logic process has three steps:
1) All input signals on the red and green wires are summed within the combinator.
2) The specified operation (+, -, *, or /) is performed on the selected signal(s).
3) The result of this operation is output as the selected output signal.