|
Defines |
| #define | VERSION "4.3" |
| #define | FILENAME "enquire.c" |
| #define | PASS 1 |
| #define | PASS0 1 |
| #define | PASS1 1 |
| #define | D_CHAR_BIT "Number of bits in a storage unit" |
| #define | D_CHAR_MAX "Maximum char" |
| #define | D_CHAR_MIN "Minimum char" |
| #define | D_SCHAR_MAX "Maximum signed char" |
| #define | D_SCHAR_MIN "Minimum signed char" |
| #define | D_UCHAR_MAX "Maximum unsigned char (minimum is always 0)" |
| #define | D_INT_MAX "Maximum %s" |
| #define | D_INT_MIN "Minimum %s" |
| #define | D_UINT_MAX "Maximum unsigned %s (minimum is always 0)" |
| #define | D_FLT_ROUNDS "Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown" |
| #define | D_FLT_RADIX "Radix of exponent representation" |
| #define | D_MANT_DIG "Number of base-FLT_RADIX digits in the significand of a %s" |
| #define | D_DIG "Number of decimal digits of precision in a %s" |
| #define | D_MIN_EXP "Minimum int x such that FLT_RADIX**(x-1) is a normalised %s" |
| #define | D_MIN_10_EXP "Minimum int x such that 10**x is a normalised %s" |
| #define | D_MAX_EXP "Maximum int x such that FLT_RADIX**(x-1) is a representable %s" |
| #define | D_MAX_10_EXP "Maximum int x such that 10**x is a representable %s" |
| #define | D_MAX "Maximum %s" |
| #define | D_EPSILON "Difference between 1.0 and the minimum %s greater than 1.0" |
| #define | D_MIN "Minimum normalised %s" |
| #define | Procedure void |
| #define | ARGS(x) () |
| #define | NOARGS () |
| #define | Volatile static |
| #define | Long_double double |
| #define | stdc 0 |
| #define | U "" |
| #define | __GCC_FLOAT_NOT_NEEDED |
| #define | SYS_FLOAT_H_WRAP 0 |
| #define | Vprintf if (V) printf |
| #define | Unexpected(place) if (setjmp(lab)!=0) croak(place) |
| #define | fabs(x) (((x)<0.0)?(-x):(x)) |
| #define | Order(x, px, mode) |
| #define | Promoted(x) (false()?(x):(-1)) |
| #define | is_signed(x) (Promoted(x) < 0) |
| #define | sign_of(x) ((x)?"signed":"unsigned") |
| #define | Signed 1 |
| #define | Unsigned 0 |
| #define | sgn(x) ((is_signed(x))?Signed:Unsigned) |
| #define | showtype(t, x) Vprintf("%s%s %s %s%s\n", co, t, sign_of(is_signed(x)), type_of(sizeof(x)), oc) |
| #define | checktype(x, n, s, t) if((sgn(x)!=s)||(sizeof(x)!=sizeof(t))) typerr(n, s, sizeof(t), sign_of(x), sizeof(x)); |
| #define | fchecktype(x, n, t) if (sizeof(x) != sizeof(t)) ftyperr(n, sizeof(x), sizeof(t)); |
| #define | CHAR_BIT char_bit |
| #define | CHAR_MAX char_max |
| #define | CHAR_MIN char_min |
| #define | SCHAR_MAX char_max |
| #define | SCHAR_MIN char_min |
| #define | UCHAR_MAX char_max |
| #define | alignment(TYPE) ((long)((char *)&((struct{char c; TYPE d;}*)0)->d - (char *) 0)) |
| #define | Number float |
| #define | THING "FLOAT" |
| #define | Thing "Float" |
| #define | thing "float" |
| #define | Fname "FLT" |
| #define | FPROP fprop |
| #define | Store fStore |
| #define | Sum fSum |
| #define | Diff fDiff |
| #define | Mul fMul |
| #define | Div fDiv |
| #define | ZERO 0.0 |
| #define | HALF 0.5 |
| #define | ONE 1.0 |
| #define | TWO 2.0 |
| #define | THREE 3.0 |
| #define | FOUR 4.0 |
| #define | Self fSelf |
| #define | F_check fCheck |
| #define | MARK "F" |
| #define | EPROP efprop |
| #define | Integer short |
| #define | INT "short" |
| #define | IPROP sprop |
| #define | Iname "SHRT" |
| #define | OK_UI 1 |
| #define | IMARK "" |
| #define | UPROP usprop |
| #define | Uname "USHRT" |
| #define | UNDEFINED (-2) |
| #define | I_MAX ((unsigned long) UNDEFINED) |
| #define | I_MIN ((unsigned long) UNDEFINED) |
| #define | U_MAX ((unsigned long) UNDEFINED) |
| #define | F_RADIX UNDEFINED |
| #define | F_MANT_DIG UNDEFINED |
| #define | F_DIG UNDEFINED |
| #define | F_ROUNDS UNDEFINED |
| #define | F_EPSILON ((Number) UNDEFINED) |
| #define | F_MIN_EXP UNDEFINED |
| #define | F_MIN ((Number) UNDEFINED) |
| #define | F_MIN_10_EXP UNDEFINED |
| #define | F_MAX_EXP UNDEFINED |
| #define | F_MAX ((Number) UNDEFINED) |
| #define | F_MAX_10_EXP UNDEFINED |
| #define | Validate(prec, val, req, same) {;} |
| #define | ARGS1(atype, a) (a) atype a; |
| #define | ARGS2(atype, a, btype, b) (a, b) atype a; btype b; |
| #define | PASS 2 |
| #define | PASS2 1 |
Functions/Subroutines |
| char *malloc | ARGS ((size_t size)) |
| Procedure exit | ARGS ((int status)) |
| char *f_rep | ARGS ((int precision, Long_double val)) |
| char *fake_f_rep | ARGS ((char *type, Long_double val)) |
| int fprop | ARGS ((int bits_per_byte)) |
| Procedure efprop | ARGS ((int fprec, int dprec, int lprec)) |
| int setmode | ARGS ((char *s)) |
| Procedure farewell | ARGS ((int bugs)) |
| Procedure describe | ARGS ((char *description, char *extra)) |
| Procedure bitpattern | ARGS ((char *p, unsigned int size)) |
| int ceil_log | ARGS ((int base, Long_double x)) |
| Procedure croak | ARGS ((int place)) |
| Procedure eek_a_bug | ARGS ((char *problem)) |
| int exponent | ARGS ((Long_double x, double *fract, int *exp)) |
| Procedure f_define | ARGS ((char *desc, char *extra, char *sort, char *name, int prec, Long_double val, Long_double req, char *mark)) |
| Procedure i_define | ARGS ((char *desc, char *extra, char *sort, char *name, long val, long lim, long req, char *mark)) |
| Procedure u_define | ARGS ((char *desc, char *extra, char *sort, char *name, unsigned long val, unsigned long req, char *mark)) |
| Procedure | overflow (int sig) |
| int | setmode (char *s) |
| Procedure | farewell (int bugs) |
| Procedure | croak (int place) |
| char * | xmalloc (unsigned size) |
| int | maximum_int () |
| int | main (int argc, argv) |
| Procedure | eek_a_bug (char *problem) |
| Procedure | describe (char *description, char *extra) |
| Procedure | i_define (char *desc, char *extra, char *sort, char *name, long val, long lim, long req, char *mark) |
| Procedure | u_define (char *desc, char *extra, char *sort, char *name, unsigned long val, unsigned long req, char *mark) |
| Procedure | f_define (char *desc, char *extra, char *sort, char *name, int precision, Long_double val, Long_double req, char *mark) |
| int | floor_log (int base, Long_double x) |
| int | ceil_log (int base, Long_double x) |
| int | exponent (Long_double x, double *fract, int *exp) |
| char * | fake_f_rep (char *type, Long_double val) |
| char * | f_rep (int precision, Long_double val) |
| Procedure | bitpattern (char *p, unsigned int size) |
| Procedure | endian (int bits_per_byte) |
| Procedure | missing (char *s) |
| Procedure | fmissing (char *s) |
| int | false () |
| char * | type_of (int x) |
| char * | ftype_of (int x) |
| Procedure | typerr (char *name, int esign, int esize, int sign, int size) |
| Procedure | ftyperr (char *name, int esize, int size) |
| int | promotions () |
| Procedure | check_defines () |
| int | cprop () |
| int | basic () |
| Procedure | IPROP () |
| Procedure | UPROP () |
| Procedure Store | ARGS2 (Number, a, Number *, b) |
| Number Sum | ARGS2 (Number, a, Number, b) |
| Number Self | ARGS1 (Number, a) |
| Procedure F_check | ARGS ((int precision, Long_double val1)) |
| Procedure | F_check (int precision, Long_double val1) |
| int | FPROP (int bits_per_byte) |
| Procedure | EPROP (int fprec, int dprec, int lprec) |
Variables |
| int false | NOARGS |
| jmp_buf | lab |
| int | V = 0 |
| int | L = 0 |
| int | F = 0 |
| int | bugs = 0 |
| char | co [4] |
| char | oc [4] |
| int | bits_per_byte |
| int | flt_rounds |
| int | flt_radix |
| int | maxint |