Reference.BitRead History

Hide minor edits - Show changes to output

November 02, 2008, at 11:16 AM by David A. Mellis -
Changed lines 15-16 from:
n: which bit to read
to:
n: which bit to read, starting at 0 for the least-significant (rightmost) bit
November 02, 2008, at 11:12 AM by David A. Mellis -
Changed lines 5-6 from:
Reads the value of a bit of a number.
to:
Reads a bit of a number.
Changed lines 13-14 from:
x: the number from which to read the bit
to:
x: the number from which to read
November 02, 2008, at 11:10 AM by David A. Mellis -
Added lines 1-26:
!!bitRead()

!!!!Description

Reads the value of a bit of a number.

!!!!Syntax

bitRead(x, n)

!!!!Parameters

x: the number from which to read the bit

n: which bit to read

!!!!Returns

the value of the bit (0 or 1).

!!!!See also

* [[bit]]()
* [[bitWrite]]()
* [[bitSet]]()
* [[bitClear]]()

Share