David
Farruggio

MathGenie

bitget

Get bit at specified position

Syntax and Description

bitget(A,bit) returns the bit value at position bit in integer array A.
bitget(A,bit,assumedtype) assumes that A is of assumedtype. Assumed types are:
  • 1 = uint64
  • 2 = uint32
  • 3 = uint16
  • 4 = uint8
  • 5 = int64
  • 6 = int32
  • 7 = int16
  • 8 = int8

Back to functions