|
|
1.1 ! root 1: /* ! 2: * h/i8086/cc0mch.h ! 3: * Definitions for the SMALL and LARGE model Intel iAPX-86 C compiler. ! 4: * mch.h has set either IEEE or DECVAX to 1. ! 5: * Both formats use 8 byte double constants with the sign bit in the same place. ! 6: * ! 7: * Some definitions for the portable floating point input code. ! 8: * Used by the multiprecision integer package. ! 9: */ ! 10: ! 11: #define NBIG 8 /* Loop limit, etc */ ! 12: typedef unsigned char BIG[NBIG]; /* Unsigned, holds 64 bits */ ! 13: #define t5ne(n) ((n[0]&0370)!=0) /* Check if top 5 bits clear */ ! 14: #define cbit(n) (((n)>>8)&0377) /* Get 'carry' for addition */ ! 15: #define MSBBIG 0200 /* Top bit of each thing */ ! 16: ! 17: #if IEEE ! 18: #define IROUND 6 /* IEEE format */ ! 19: #define BROUND 010 /* 52 bits */ ! 20: #define EXPBIAS 1023 /* binary exponent bias */ ! 21: #define EXPMAX 2046 /* maximum biased binary exponent */ ! 22: #else ! 23: #define IROUND 6 /* DEC VAX-11 format */ ! 24: #define BROUND 01 /* 55 bits */ ! 25: #define EXPBIAS 129 /* binary exponent bias */ ! 26: #define EXPMAX 255 /* maximum biased binary exponent */ ! 27: #endif ! 28: ! 29: /* This macro determines which bit field base types are promoted. */ ! 30: #define doalign(t) 0 ! 31: ! 32: /* Byte alignment for all field types. */ ! 33: #define faligntype(t) 1 ! 34: ! 35: /* No pragmas recognized. */ ! 36: #define pragma(p) 0 ! 37: ! 38: /* end of h/i8086/cc0mch.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.