tdat.h - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tdat.h (363B)
---
1 #define mpdighi (mpdigit)((ulong)1<<(Dbits-1))
2 #define DIGITS(x) ((Dbits - 1 + (x))/Dbits)
3
4 /* for converting between int's and mpint's */
5 #define MAXUINT ((uint)-1)
6 #define MAXINT (MAXUINT>>1)
7 #define MININT (MAXINT+1)
8
9 /* for converting between vlongs's and mpint's */
10 #define MAXUVLONG (~0ULL)
11 #define MAXVLONG (MAXUVLONG>>1)
12 #define MINVLONG (MAXVLONG+1ULL)