Changed from using bit-shifts to using arithmetic operators. More tests fail, but...
This commit is contained in:
parent
bef9be4914
commit
7c84cb433a
3 changed files with 10 additions and 8 deletions
|
|
@ -21,7 +21,9 @@
|
|||
*
|
||||
* So left shifting and right shifting by 60 bits is correct.
|
||||
*/
|
||||
#define MAX_INTEGER ((__int128_t)0x0fffffffffffffffL)
|
||||
#define MAX_INTEGER ((__int128_t)0x0fffffffffffffffL)
|
||||
#define INT_CELL_BASE ((__int128_t)MAX_INTEGER + 1) // ((__int128_t)0x1000000000000000L)
|
||||
|
||||
/**
|
||||
* @brief Number of value bits in an integer cell
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue