aboutsummaryrefslogtreecommitdiff
path: root/softfloat/f64_to_i64_r_minMag.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/f64_to_i64_r_minMag.c')
-rwxr-xr-xsoftfloat/f64_to_i64_r_minMag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/softfloat/f64_to_i64_r_minMag.c b/softfloat/f64_to_i64_r_minMag.c
index 525705b..57bb4a9 100755
--- a/softfloat/f64_to_i64_r_minMag.c
+++ b/softfloat/f64_to_i64_r_minMag.c
@@ -36,14 +36,14 @@ int_fast64_t f64_to_i64_r_minMag( float64_t a, bool exact )
} else {
if ( exp < 0x3FF ) {
if ( exact && ( exp | sig ) ) {
- softfloat_exceptionFlags |= softfloat_flag_inexact;
+ softfloat_raiseFlags( softfloat_flag_inexact );
}
return 0;
}
sig |= UINT64_C( 0x0010000000000000 );
absZ = sig>>( - shiftCount );
if ( exact && (uint64_t) ( sig<<( shiftCount & 63 ) ) ) {
- softfloat_exceptionFlags |= softfloat_flag_inexact;
+ softfloat_raiseFlags( softfloat_flag_inexact );
}
}
return sign ? - absZ : absZ;