Module Name:    src
Committed By:   matt
Date:           Sat Feb  1 16:39:52 UTC 2014

Modified Files:
        src/sys/sys: ieee754.h

Log Message:
All EXT_EXP defines must be conditionized.  Back out previous change which
removed that.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/sys/ieee754.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/ieee754.h
diff -u src/sys/sys/ieee754.h:1.14 src/sys/sys/ieee754.h:1.15
--- src/sys/sys/ieee754.h:1.14	Sat Feb  1 15:40:14 2014
+++ src/sys/sys/ieee754.h	Sat Feb  1 16:39:52 2014
@@ -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 @@ struct ieee_ext {
  */
 #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.

Reply via email to