This page (revision-1) was last changed on 29-Nov-2024 16:16 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 98 lines
!!! Overview
[{$pagename}] (Exclusive OR) is a [Bitwise operation] which is used in bit manipulation and on [Bitmasks]
[{$pagename}]take two equal-length [bit] patterns.
* outputs a 1 whenever the inputs __do NOT match__ ([False] as any non-zero value is considered [false])
* outputs a 0 ONLY WHEN the inputs __do match__ ([True])
!! [{$pagename}] [Examples]
So in these [examples]
* 0 XOR 0 = 0 = [true]
* 0 XOR 1 = 1 = [false]
* 1 XOR 0 = 1 = [false]
* 1 XOR 1 = 0 = [true]
If both [bits] in the compared position of the [bit patterns] are 0 or 1, the bit in the resulting bit pattern is 0, otherwise 1.
Another slightly more complex [example]
||[Decimal]||[Binary]
|10270010|100111001011010100111010|[{$pagename}]
|5905368|010110100001101111011000|Equals
|13020898|110001101010111011100010|Result
!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]