Home | History | Annotate | Line # | Download | only in include
float.h revision 1.13.130.1
      1 /*	$NetBSD: float.h,v 1.13.130.1 2011/03/05 20:51:03 rmind Exp $ */
      2 
      3 #ifndef _MIPS_FLOAT_H_
      4 #define _MIPS_FLOAT_H_
      5 
      6 #if defined(__mips_n32) || defined(__mips_n64)
      7 
      8 #define LDBL_MANT_DIG	113
      9 #define	LDBL_EPSILON	1.925929944387235853055977942584927319E-34L
     10 #define	LDBL_DIG	33
     11 #define	LDBL_MIN_EXP	(-16381)
     12 #define	LDBL_MIN	3.3621031431120935062626778173217526026E-4932L
     13 #define	LDBL_MIN_10_EXP	(-4931)
     14 #define	LDBL_MAX_EXP	16384
     15 #define	LDBL_MAX	1.1897314953572317650857593266280070162E4932L
     16 #define	LDBL_MAX_10_EXP	4932
     17 
     18 #endif	/* __mips_n32 || __mips_n64 */
     19 
     20 #include <sys/float_ieee754.h>
     21 
     22 #if defined(__mips_n32) || defined(__mips_n64)
     23 
     24 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
     25     !defined(_XOPEN_SOURCE) || \
     26     ((__STDC_VERSION__ - 0) >= 199901L) || \
     27     ((_POSIX_C_SOURCE - 0) >= 200112L) || \
     28     ((_XOPEN_SOURCE  - 0) >= 600) || \
     29     defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE)
     30 #define	DECIMAL_DIG	36
     31 #endif /* !defined(_ANSI_SOURCE) && ... */
     32 
     33 #endif	/* __mips_n32 || __mips_n64 */
     34 
     35 #endif	/* _MIPS_FLOAT_H_ */
     36