>even ( m -- n )
Factor handbook » The language » Numbers » Arithmetic » Bitwise arithmetic » Additional bitwise arithmetic

Prev:h>b/b ( h -- b1 b2 )
Next:>odd ( m -- n )


Vocabulary
math.bitwise

Inputs
man integer


Outputs
nan integer


Examples
USING: math.bitwise prettyprint ; 7 >even .
6


Word description
Sets the lowest bit in the integer to 0, which either does nothing or outputs 1 less than the input integer.

Definition