In other languages: Česky Deutsch Français Русский 中文

Arithmetic combinator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
m (Note about division results getting truncated)
Line 15: Line 15:
3) The result of this operation is output as the selected output signal.
3) The result of this operation is output as the selected output signal.


The arithmetic combinator can handle [[Automatic control/Virtual signals#Each|special signals]].
The arithmetic combinator can handle [[Automatic control/Virtual signals#Each|special signals]]. Notice that when using division as operation the result is truncated.


==See Also==
==See Also==

Revision as of 20:55, 17 September 2016

Arithmetic combinator/infobox


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.

See Also