merged vax and pdp #defines in float.h

This commit is contained in:
eck 1990-08-28 14:52:52 +00:00
parent 4ab420fb0f
commit 391874ecb2

View file

@ -6,44 +6,7 @@
#if !defined(_FLOAT_H)
#define _FLOAT_H
#if defined(vax)
#define FLT_DIG 6
#define FLT_EPSILON 5.96046448e-08
#define FLT_MANT_DIG 8
#define FLT_MAX 1.70141173e+38F
#define FLT_MAX_10_EXP 38
#define FLT_MAX_EXP 127
#define FLT_MIN 2.93873588e-39F
#define FLT_MIN_10_EXP (-38)
#define FLT_MIN_EXP (-127)
#define DBL_DIG 16
#define DBL_EPSILON 1.38777878078144568e-17
#define DBL_MANT_DIG 8
#define DBL_MAX 1.70141183460469229e+38
#define DBL_MAX_10_EXP 38
#define DBL_MAX_EXP 127
#define DBL_MIN 2.93873587705571877e-39
#define DBL_MIN_10_EXP (-38)
#define DBL_MIN_EXP (-127)
#define LDBL_DIG 16
#define LDBL_EPSILON 1.38777878078144568e-17
#define LDBL_MANT_DIG 8
#define LDBL_MAX 1.70141183460469229e+38L
#define LDBL_MAX_10_EXP 38
#define LDBL_MAX_EXP 127
#define LDBL_MIN 2.93873587705571877e-39L
#define LDBL_MIN_10_EXP (-38)
#define LDBL_MIN_EXP (-127)
#define FLT_ROUNDS 1
#define FLT_RADIX 2
#elif defined(pdp)
/* The values are not certain, because there are no pdp's here anymore. The
* values given here are the same as for the vax.
*/
#if defined(vax) || defined(pdp)
#define FLT_DIG 6
#define FLT_EPSILON 5.96046448e-08
#define FLT_MANT_DIG 8