bit set

A small, numbered collection of bits that can be examined and manipulated.

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows
8.1.535.0 Debian, Ubuntu
9.5.13.130 Raspbian

Creation

bit <integer> : bit set
bit set <string> : bit set
<integer> as bit set : bit set
<integer> as bits : bit set

Properties

bit <integer> of <bit set> : boolean
least significant one bit of <bit set> : integer
left shift <integer> of <bit set> : bit set
most significant one bit of <bit set> : integer
one bit of <bit set> : integer
padded string of <bit set> : string
right shift <integer> of <bit set> : bit set

Casts

<bit set> as integer : integer
<bit set> as string : string

Operators

<bit set> contains <bit set> : boolean