1 /* this file is #included into both C (.c and .hc) and Haskell files */
3 /* IEEE format floating-point */
4 #define IEEE_FLOATING_POINT 1
6 /* Radix of exponent representation */
11 /* Number of base-FLT_RADIX digits in the significand of a float */
13 # define FLT_MANT_DIG 24
15 /* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
17 # define FLT_MIN_EXP (-125)
19 /* Maximum int x such that FLT_RADIX**(x-1) is a representable float */
21 # define FLT_MAX_EXP 128
24 /* Number of base-FLT_RADIX digits in the significand of a double */
26 # define DBL_MANT_DIG 53
28 /* Minimum int x such that FLT_RADIX**(x-1) is a normalised double */
30 # define DBL_MIN_EXP (-1021)
32 /* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
34 # define DBL_MAX_EXP 1024