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