
/*
 * float.h	 (National Semiconductor) 5/9/88 14:54:11
 * @(#) copyrights and other release restrictions may apply
 */

#ifndef __FLOAT_H__
#define __FLOAT_H__
/* various values that describe the binary floating-point representation
 * FLT_RADIX	- radix of exponent representation 
 */

#define FLT_RADIX	 2

#define FLT_MANT_DIG	23
#define DBL_MANT_DIG	53
#define LDBL_MANT_DIG	DBL_MANT_DIG

#define FLT_DIG		 7
#define DBL_DIG		15
#define LDBL_DIG	DBL_DIG

#define FLT_MIN_10_EXP   -37
#define DBL_MIN_10_EXP  -307
#define LDBL_MIN_10_EXP  DBL_MIN_10_EXP

#define FLT_MAX_EXP      127
#define DBL_MAX_EXP      1023
#define LDBL_MAX_EXP     DBL_MAX_EXP

#define FLT_MAX_10_EXP    38
#define DBL_MAX_10_EXP   308
#define LDBL_MAX_10_EXP  DBL_MAX_10_EXP

#define FLT_MAX		((float)3.4028234663852885e+38)
#define DBL_MAX		1.7976931348623157e+308
#define LDBL_MAX	DBL_MAX


#define FLT_EPSILON	((float)1.192092895507813e-07)
#define DBL_EPSILON	2.220446049250313e-16
#define LDBL_EPSILON	DBL_EPSILON

#define FLT_MIN		((float)1.1754943508222875e-38)
#define DBL_MIN		2.2250738585072014e-308
#define LDBL_MIN	DBL_MIN
#endif	/* __FLOAT_H__ */
