|
|
1.1 root 1: /* Maximum number of digits in any integer (long) representation */
2: #define MAXDIGS 11
3:
4: /* Largest (normal length) positive integer */
5: #ifdef vax
6: #define MAXINT 2147483647
7: #endif
8: #ifdef pdp11
9: #define MAXINT 32767
10: #endif
11: #ifdef mc68000
12: #define MAXINT 32767
13: #endif
14:
15: /* A long with only the high-order bit turned on */
16: #define HIBIT 0x80000000L
17:
18: /* Convert a digit character to the corresponding number */
19: #define tonumber(x) ((x)-'0')
20:
21: /* Convert a number between 0 and 9 to the corresponding digit */
22: #define todigit(x) ((x)+'0')
23:
24: /* Data type for flags */
25: typedef char bool;
26:
27: /* Maximum total number of digits in E format */
28: #define MAXECVT 17
29:
30: /* Maximum number of digits after decimal point in F format */
31: #define MAXFCVT 60
32:
33: /* Maximum significant figures in a floating-point number */
34: #define MAXFSIG 17
35:
36: /* Maximum number of characters in an exponent */
37: #define MAXESIZ 4
38:
39: /* Maximum (positive) exponent or greater */
40: #define MAXEXP 40
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.