() xor (): Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "thumb|300x300px The xor block is a boolean that outputs the xor logic gate. It outputs true of only one value is true, and outputs false if both are false or true." |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:Block 5 26 2023-3 13 08 PM.png|thumb|300x300px]] |
[[File:Block 5 26 2023-3 13 08 PM.png|thumb|300x300px]] |
||
The xor block is a boolean that outputs the xor logic gate. It outputs true of only one value is true, and outputs false if both are false or true. |
The xor block is a boolean that outputs the xor logic gate. It outputs true of only one value is true, and outputs false if both are false or true. To get this block, one must add the "Operators Expansion" extension. |
||
==Workaround== |
|||
This block can be worked around by checking if the booleans are not equal to each other, or by putting a xnor block in a not block. |
|||
[[Category:Boolean Blocks]] |
|||
[[Category:Operators Blocks/Expansion]] |
Revision as of 23:51, 17 November 2023
![](http://static.miraheze.org/pmodwiki/a/af/Block_5_26_2023-3_13_08_PM.png)
The xor block is a boolean that outputs the xor logic gate. It outputs true of only one value is true, and outputs false if both are false or true. To get this block, one must add the "Operators Expansion" extension.
Workaround
This block can be worked around by checking if the booleans are not equal to each other, or by putting a xnor block in a not block.