summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2004-01-21 04:56:39 +0000
committergrehan <grehan@FreeBSD.org>2004-01-21 04:56:39 +0000
commit4ddbc20ea66a532b11ed5112623b672859f07b08 (patch)
treec6061239c2f97f4e5da0608364f49d2e1fbd5455 /sys/powerpc
parent74fadada7ae779d49148688c1c233f58cd58ea68 (diff)
downloadFreeBSD-src-4ddbc20ea66a532b11ed5112623b672859f07b08.zip
FreeBSD-src-4ddbc20ea66a532b11ed5112623b672859f07b08.tar.gz
Update 128-bit long double constants to match what is expected
by libc
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/float.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/sys/powerpc/include/float.h b/sys/powerpc/include/float.h
index 9096b1d..54b6365 100644
--- a/sys/powerpc/include/float.h
+++ b/sys/powerpc/include/float.h
@@ -63,13 +63,14 @@
#define DBL_MAX 1.7976931348623157E+308
#define DBL_MAX_10_EXP 308
-#define LDBL_MANT_DIG DBL_MANT_DIG
-#define LDBL_EPSILON DBL_EPSILON
-#define LDBL_DIG DBL_DIG
-#define LDBL_MIN_EXP DBL_MIN_EXP
-#define LDBL_MIN DBL_MIN
-#define LDBL_MIN_10_EXP DBL_MIN_10_EXP
-#define LDBL_MAX_EXP DBL_MAX_EXP
-#define LDBL_MAX DBL_MAX
-#define LDBL_MAX_10_EXP DBL_MAX_10_EXP
+#define LDBL_MANT_DIG 113
+#define LDBL_EPSILON 1.925929944387235853055977942584927319E-34L
+#define LDBL_DIG 33
+#define LDBL_MIN_EXP (-16381)
+#define LDBL_MIN 3.362103143112093506262677817321752603E-4932L
+#define LDBL_MIN_10_EXP (-4931)
+#define LDBL_MAX_EXP (+16384)
+#define LDBL_MAX 1.189731495357231765085759326628007016E+4932L
+#define LDBL_MAX_10_EXP (+4932)
+
#endif /* _MACHINE_FLOAT_H_ */
OpenPOWER on IntegriCloud