Home | History | Annotate | Line # | Download | only in include
float.h revision 1.5
      1 /*	$NetBSD: float.h,v 1.5 2003/10/23 23:26:06 kleink Exp $	*/
      2 
      3 #ifndef _X86_FLOAT_H_
      4 #define _X86_FLOAT_H_
      5 
      6 #define	LDBL_MANT_DIG	64
      7 #define LDBL_EPSILON	1.0842021724855044340E-19L
      8 #define LDBL_DIG	18
      9 #define LDBL_MIN_EXP	(-16381)
     10 #define LDBL_MIN	3.3621031431120935063E-4932L
     11 #define LDBL_MIN_10_EXP	(-4931)
     12 #define LDBL_MAX_EXP	16384
     13 #define LDBL_MAX	1.1897314953572317650E+4932L
     14 #define LDBL_MAX_10_EXP	4932
     15 
     16 #include <sys/float_ieee754.h>
     17 
     18 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
     19     !defined(_XOPEN_SOURCE) || \
     20     ((__STDC_VERSION__ - 0) >= 199901L) || \
     21     ((_POSIX_C_SOURCE - 0) >= 200112L) || \
     22     ((_XOPEN_SOURCE  - 0) >= 600) || \
     23     defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE)
     24 #define	DECIMAL_DIG	21
     25 #endif /* !defined(_ANSI_SOURCE) && ... */
     26 
     27 #endif	/* _X86_FLOAT_H_ */
     28