Commit c260bc58 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Add WORD_MSBIT_HIGH define - machine_int_t with the highest bit set.

parent fc5aac82
......@@ -78,6 +78,8 @@
#define BITS_PER_BYTE (8)
#define BITS_PER_WORD (BITS_PER_BYTE * BYTES_PER_WORD)
// machine_int_t value with most significant bit set
#define WORD_MSBIT_HIGH (1 << (BYTES_PER_WORD * 8 - 1))
// printf format spec to use for machine_int_t and friends
#ifndef INT_FMT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment