## Reference.Bit History

June 01, 2010, at 11:07 AM by Equipo Traduccion -
June 01, 2010, at 11:07 AM by Equipo Traduccion -
Changed lines 3-8 from:

#### Description

Computes the value of the specified bit (bit 0 is 1, bit 1 is 2, bit 2 is 4, etc.).

to:

#### Descripcion

Calcula el valor del bit especificado (bit 0 es el 1, bit1 es el 2, bit2 es 4, etc.).

#### Sintaxis

Changed lines 11-20 from:

#### Parameters

n: the bit whose value to compute

#### Returns

the value of the bit

to:

#### ParÃ¡metros

n: el bit cuyo valor se quiere calcular.

#### Devuelve

El valor del bit.

June 05, 2009, at 05:26 PM by David A. Mellis -
Deleted lines 6-7:

bit() is currently limited to 16 bit (int, word) datatypes, and bit(15) returns -32768, apparently reflecting a signed data type.

May 15, 2009, at 01:50 PM by Paul Badger -
Changed lines 5-6 from:

Computes the value of the specified bit (bit 0 is 1, bit 1 is 2, bit 2 is 4, etc.).

to:

Computes the value of the specified bit (bit 0 is 1, bit 1 is 2, bit 2 is 4, etc.).

bit() is currently limited to 16 bit (int, word) datatypes, and bit(15) returns -32768, apparently reflecting a signed data type.

November 02, 2008, at 11:06 AM by David A. Mellis -

## bit()

#### Description

Computes the value of the specified bit (bit 0 is 1, bit 1 is 2, bit 2 is 4, etc.).

bit(n)

#### Parameters

n: the bit whose value to compute

#### Returns

the value of the bit