Go to the source code of this file.
|
| Gray |
| < The main namespace for all Core functions.
|
|
| GrayLib |
|
|
#define | BLOCKS_FROM_BITS(nBits) ((cBitArrayStatic::BLOCK_ENUM_t)(((nBits) + (cBitArrayStatic::k_BLOCK_BITS - 1)) / cBitArrayStatic::k_BLOCK_BITS)) |
|
#define | BLOCK_FROM_BYTES(a, b, c, d) |
|
#define | BLOCKS_FROM_BYTES(a, b, c, d, e, f, g, h) BLOCK_FROM_BYTES( a, b, c, d ), BLOCK_FROM_BYTES( e, f, g, h ) |
|
- Copyright
- 1992 - 2020 Dennis Robinson (http://www.menasoft.com)
◆ BLOCK_FROM_BYTES
#define BLOCK_FROM_BYTES |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| |
Value: ( (cBitArray::BLOCK_t) a << 0 ) | \
( (cBitArray::BLOCK_t) b << 8 ) | \
( (cBitArray::BLOCK_t) c << 16 ) | \
( (cBitArray::BLOCK_t) d << 24 )
◆ BLOCKS_FROM_BITS
#define BLOCKS_FROM_BITS |
( |
|
nBits | ) |
((cBitArrayStatic::BLOCK_ENUM_t)(((nBits) + (cBitArrayStatic::k_BLOCK_BITS - 1)) / cBitArrayStatic::k_BLOCK_BITS)) |
◆ BLOCKS_FROM_BYTES
#define BLOCKS_FROM_BYTES |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
e, |
|
|
|
f, |
|
|
|
g, |
|
|
|
h |
|
) |
| BLOCK_FROM_BYTES( a, b, c, d ), BLOCK_FROM_BYTES( e, f, g, h ) |