XMM-Newton Science Analysis System
selectlib (selectlib-4.78.1) [22.0.0-9173c7d25-20250127]
Meta Index
/
Home Page
/
Description
Bitwise operators
For bit manipulations the following six operators are provided:
description
operand
example
bitwise AND
&
b001110110 & b0111 = b110
bitwise OR
|
b001110110 | b0101 = b1110111
bitwise exclusive OR
b001110110
b0111 = b1110001
left shift
«
b111 « 2 = b11100
right shift
»
b111 » 2 = b1
one's complement (32 bit)
b111000 = b111...000111
XMM-Newton SOC -- 2025-01-27