previous commit removed a little bit too much

This commit is contained in:
nijtmans 2019-03-28 16:18:41 +01:00
parent ef07da5b8c
commit a3076677be

View File

@ -93,6 +93,11 @@ typedef uint64_t mp_word;
# endif
#endif
/* otherwise the bits per digit is calculated automatically from the size of a mp_digit */
#ifndef DIGIT_BIT
# define DIGIT_BIT (((CHAR_BIT * MP_SIZEOF_MP_DIGIT) - 1)) /* bits per digit */
#endif
#define MP_DIGIT_BIT DIGIT_BIT
#define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
#define MP_DIGIT_MAX MP_MASK