Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 565 Bytes

File metadata and controls

51 lines (32 loc) · 565 Bytes
title categories subCategories
bitRead()
Functions
Bits and Bytes

bitRead()

Description

Reads a bit of a number.

Syntax

bitRead(x, n)

Parameters

x: the number from which to read.
n: which bit to read, starting at 0 for the least-significant (rightmost) bit.

Returns

The value of the bit (0 or 1).

See also