bits

Factor handbook » The language » Numbers » Arithmetic » Bitwise arithmetic » Integer virtual sequences

Factor handbook » The language » Numbers » Arithmetic » Bitwise arithmetic » Integer virtual sequences

Next: | <bits> ( number length -- bits ) |

Vocabulary

math.bits

Class description

Tuple representing a number as a virtual sequence of booleans. The first bit is the least significant bit. Constructors are <bits> or make-bits.

Definition

Methods

math.bits

Class description

Tuple representing a number as a virtual sequence of booleans. The first bit is the least significant bit. Constructors are <bits> or make-bits.

Definition

Methods