Component/Equal: Difference between revisions

From Turing Complete
(Added infoboxes)
m (Fixed missing subtypes)
Line 5: Line 5:
| type        = 8bit
| type        = 8bit
| subtype      = math
| subtype      = math
| prerequisite = Equal
| prerequisite = Equality
}}
}}


Line 27: Line 27:
| bit-width    = 32
| bit-width    = 32
| type        = 32bit
| type        = 32bit
| subtype      = math
| prerequisite = Sandbox
| prerequisite = Sandbox
}}
}}
Line 34: Line 35:
| bit-width    = 64
| bit-width    = 64
| type        = 64bit
| type        = 64bit
| subtype      = math
| prerequisite = Sandbox
| prerequisite = Sandbox
}}
}}

Revision as of 16:18, 22 August 2024

Equal
Width 8
Type 8bit / math
Unlocked by Equality

The Equal component checks two values for equality. If the values on both inputs are the same, a or 1 response is output. If they are different, a or 0 response is output.

Other sizes

This component exists in 8-bit, 16-bit, 32-bit, and 64-bit varieties. In all cases, a single bit is output, regardless of how many bits are being compared.


Equal (16 bit)
Width 16
Type 16bit / math
Unlocked by Sandbox
Equal (32 bit)
Width 32
Type 32bit / math
Unlocked by Sandbox
Equal (64 bit)
Width 64
Type 64bit / math
Unlocked by Sandbox

16 Bit

Similar to the 8 bit version but with 16 bit inputs.

32 Bit

Similar to the 8 bit version but with 32 bit inputs.

64 Bit

Similar to the 8 bit version but with 64 bit inputs.