Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include We have an implicit 1 MSB bit in the ...



details:   https://anonhg.NetBSD.org/src/rev/d63ccf85316e
branches:  trunk
changeset: 784934:d63ccf85316e
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 14 09:34:46 2013 +0000

description:
We have an implicit 1 MSB bit in the mantissa. Pointed out by Matt Thomas.
Fixes PR port-sparc64/47536.

diffstat:

 sys/arch/sparc/include/ieee.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 24fbdbae76d4 -r d63ccf85316e sys/arch/sparc/include/ieee.h
--- a/sys/arch/sparc/include/ieee.h     Thu Feb 14 09:31:48 2013 +0000
+++ b/sys/arch/sparc/include/ieee.h     Thu Feb 14 09:34:46 2013 +0000
@@ -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 @@
 #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 */



Home | Main Index | Thread Index | Old Index