Vocabulary
math.bits

Inputs
numberan integer


Outputs
bitsa bits


Word description
Creates a sequence of bits in ascending significance. Throws an error on negative numbers.

Examples
USING: math.bits prettyprint arrays ; 0b1101 make-bits >array .
{ t f t t }

USING: math.bits prettyprint arrays ; 64 make-bits >array .
{ f f f f f f t }


See also
bits>number

Definition