|
|
1.1 root 1: /*
2: * This header file contains definitions used by
3: * the SMALL and LARGE model C compiler for the Intel iAPX-86.
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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.