aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2012-03-19 19:38:26 -0700
committerAndrew Waterman <waterman@eecs.berkeley.edu>2012-03-19 19:38:26 -0700
commitccd5c7b1b19600519f45f95a669f61180116b609 (patch)
tree7504ce86b3d836a1cef680be0d0cca9ff7caf3c7
parent30e88a7fe9e4626ee2ec4d8f1bd2366c72cf25a2 (diff)
downloadspike-ccd5c7b1b19600519f45f95a669f61180116b609.zip
spike-ccd5c7b1b19600519f45f95a669f61180116b609.tar.gz
spike-ccd5c7b1b19600519f45f95a669f61180116b609.tar.bz2
fix double-precision NaNs
-rwxr-xr-xsoftfloat_riscv/specialize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/softfloat_riscv/specialize.h b/softfloat_riscv/specialize.h
index bf57bc9..1793c46 100755
--- a/softfloat_riscv/specialize.h
+++ b/softfloat_riscv/specialize.h
@@ -83,7 +83,7 @@ uint_fast32_t softfloat_propagateNaNF32UI( uint_fast32_t, uint_fast32_t );
/*----------------------------------------------------------------------------
| The pattern for a default generated double-precision NaN.
*----------------------------------------------------------------------------*/
-#define defaultNaNF64UI UINT64_C(0xFFF8000000000000)
+#define defaultNaNF64UI UINT64_C(0xFFFFFFFFFFFFFFFF)
/*----------------------------------------------------------------------------
*----------------------------------------------------------------------------*/