Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys All EXT_EXP defines must be conditionized. Back out...
details: https://anonhg.NetBSD.org/src/rev/b66cae0c07f2
branches: trunk
changeset: 326532:b66cae0c07f2
user: matt <matt%NetBSD.org@localhost>
date: Sat Feb 01 16:39:52 2014 +0000
description:
All EXT_EXP defines must be conditionized. Back out previous change which
removed that.
diffstat:
sys/sys/ieee754.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 42de45e633a8 -r b66cae0c07f2 sys/sys/ieee754.h
--- a/sys/sys/ieee754.h Sat Feb 01 16:10:12 2014 +0000
+++ b/sys/sys/ieee754.h Sat Feb 01 16:39:52 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee754.h,v 1.14 2014/02/01 15:40:14 matt Exp $ */
+/* $NetBSD: ieee754.h,v 1.15 2014/02/01 16:39:52 matt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -160,14 +160,18 @@
*/
#define SNG_EXP_INFNAN 255
#define DBL_EXP_INFNAN 2047
+#if __HAVE_LONG_DOUBLE + 0 == 128
#define EXT_EXP_INFNAN 0x7fff
+#endif
/*
* Exponent biases.
*/
#define SNG_EXP_BIAS 127
#define DBL_EXP_BIAS 1023
+#if __HAVE_LONG_DOUBLE + 0 == 128
#define EXT_EXP_BIAS 16383
+#endif
/*
* Convenience data structures.
Home |
Main Index |
Thread Index |
Old Index