Blame


1 be22ae2d 2004-03-26 devnull #define mpdighi (mpdigit)((ulong)1<<(Dbits-1))
2 b3f61791 2004-03-21 devnull #define DIGITS(x) ((Dbits - 1 + (x))/Dbits)
3 b3f61791 2004-03-21 devnull
4 b3f61791 2004-03-21 devnull // for converting between int's and mpint's
5 b3f61791 2004-03-21 devnull #define MAXUINT ((uint)-1)
6 b3f61791 2004-03-21 devnull #define MAXINT (MAXUINT>>1)
7 b3f61791 2004-03-21 devnull #define MININT (MAXINT+1)
8 b3f61791 2004-03-21 devnull
9 b3f61791 2004-03-21 devnull // for converting between vlongs's and mpint's
10 b3f61791 2004-03-21 devnull #define MAXUVLONG (~0ULL)
11 b3f61791 2004-03-21 devnull #define MAXVLONG (MAXUVLONG>>1)
12 b3f61791 2004-03-21 devnull #define MINVLONG (MAXVLONG+1ULL)