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

Prev:even-parity? ( obj -- ? )
Next:wrap ( m n -- m' )


Vocabulary
math.bitwise

Inputs
objan object


Outputs
?a boolean


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

Definition