From ccd5c7b1b19600519f45f95a669f61180116b609 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 19 Mar 2012 19:38:26 -0700 Subject: [PATCH] fix double-precision NaNs --- softfloat_riscv/specialize.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) /*---------------------------------------------------------------------------- *----------------------------------------------------------------------------*/ -- 2.30.2