Arithmetic combinator
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.
The arithmetic combinator can handle special signals. Notice that when using division as operation the result is truncated.
History
- 0.15.0: * Added Modulo, Power, Left Bit Shift, Right Bit Shift, Bitwise AND, Bitwise OR and Bitwise XOR to the Arithmetic Combinator.
- 0.13.0:
- Connected wires are highlighted when hovering over a combinator connected to the circuit network.
- Combinators show input and output in alt mode.
- More virtual signals for combinators.
- Constant combinator can be rotated.
- Decider combinator "input count" option makes the combinator copy the count of the specified output signal from the input signals, instead of copying the count from the condition.
- New combinator graphics.
- 0.12.5:
- Combinators now emit light.
- 0.12.2:
- Combinators no longer turn off when no wires are connected.
- 0.12.0:
- Introduced