odd? ( n -- ? )
Factor documentation > Factor handbook > The language > Numbers > Mathematical functions > Integer functions
Prev:even? ( n -- ? )
Next:divisor? ( m n -- ? )


Vocabulary
math

Inputs and outputs
nan integer
?a boolean


Word description
Tests if an integer is odd.

Definition
IN: math

: odd? ( n -- ? ) 1 bitand 1 number= ; inline