Navigation

Operators and Keywords

Function List:

C++ API

: c = bitget (A, n)

Return the status of bit(s) n of the unsigned integers in A.

The least significant bit is n = 1.

bitget (100, 8:-1:1)
⇒ 0  1  1  0  0  1  0  0

See also: bitand, bitor, bitxor, bitset, bitcmp, bitshift, intmax, flintmax.

Package: octave