Changed from using bit-shifts to using arithmetic operators. More tests fail, but...

This commit is contained in:
Simon Brooke 2025-03-16 09:38:00 +00:00
parent bef9be4914
commit 7c84cb433a
3 changed files with 10 additions and 8 deletions

View file

@ -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
*