diff options
Diffstat (limited to 'softfloat')
-rwxr-xr-x | softfloat/f64_to_i64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softfloat/f64_to_i64.c b/softfloat/f64_to_i64.c index 89663ee..676e944 100755 --- a/softfloat/f64_to_i64.c +++ b/softfloat/f64_to_i64.c @@ -29,7 +29,7 @@ int_fast64_t f64_to_i64( float64_t a, int_fast8_t roundingMode, bool exact ) return
! sign
|| ( ( exp == 0x7FF )
- && ( sig != UINT64_C( 0x0010000000000000 ) ) )
+ && fracF64UI( uiA ) )
? INT64_C( 0x7FFFFFFFFFFFFFFF )
: - INT64_C( 0x7FFFFFFFFFFFFFFF ) - 1;
}
|