even-parity? ( obj -- ? )
Factor handbook » The language » Numbers » Arithmetic » Bitwise arithmetic » Additional bitwise arithmetic

Prev:bit-count ( obj -- n )
Next:odd-parity? ( obj -- ? )


Vocabulary
math.bitwise

Inputs
objan object


Outputs
?a boolean


Word description
Returns true if the number of set bits in an object is even.

Definition