Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / sparc / include / float.h
blobb21b2671580adf63f55217d40718366673e75be4
1 /* $NetBSD: float.h,v 1.11 2008/10/25 09:23:50 mrg Exp $ */
3 #ifndef _SPARC_FLOAT_H_
4 #define _SPARC_FLOAT_H_
6 #ifdef _LP64
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
18 #endif /* _LP64 */
20 #include <sys/float_ieee754.h>
22 #ifdef _LP64
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) && ... */
33 #endif /* _LP64 */
35 #endif /* _SPARC64_FLOAT_H_ */