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/c36b935b324e
branches:  trunk
changeset: 793272:c36b935b324e
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 96288896e70d -r c36b935b324e 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