Module Name: src
Committed By: martin
Date: Thu Feb 14 09:34:46 UTC 2013
Modified Files:
src/sys/arch/sparc/include: ieee.h
Log Message:
We have an implicit 1 MSB bit in the mantissa. Pointed out by Matt Thomas.
Fixes PR port-sparc64/47536.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sparc/include/ieee.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/arch/sparc/include/ieee.h
diff -u src/sys/arch/sparc/include/ieee.h:1.14 src/sys/arch/sparc/include/ieee.h:1.15
--- src/sys/arch/sparc/include/ieee.h:1.14 Sun Jul 10 04:49:37 2011
+++ src/sys/arch/sparc/include/ieee.h Thu Feb 14 09:34:46 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee.h,v 1.14 2011/07/10 04:49:37 matt Exp $ */
+/* $NetBSD: ieee.h,v 1.15 2013/02/14 09:34:46 martin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -118,6 +118,6 @@ union ieee_ext_u {
#define extu_frachm extu_ext.ext_frachm
#define extu_frach extu_ext.ext_frach
-#define LDBL_NBIT 0x80000000
-#define mask_nbit_l(u) ((u).extu_frach &= ~LDBL_NBIT)
+#define LDBL_IMPLICIT_NBIT 1
+
#endif /* __arch64__ || _KERNEL */