diff options
Diffstat (limited to 'softfloat/f64_to_i32_r_minMag.c')
-rwxr-xr-x | softfloat/f64_to_i32_r_minMag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/softfloat/f64_to_i32_r_minMag.c b/softfloat/f64_to_i32_r_minMag.c index 39246c2..176bda6 100755 --- a/softfloat/f64_to_i32_r_minMag.c +++ b/softfloat/f64_to_i32_r_minMag.c @@ -23,7 +23,7 @@ int_fast32_t f64_to_i32_r_minMag( float64_t a, bool exact ) sig = fracF64UI( uiA );
if ( exp < 0x3FF ) {
if ( exact && ( exp | sig ) ) {
- softfloat_exceptionFlags |= softfloat_flag_inexact;
+ softfloat_raiseFlags( softfloat_flag_inexact );
}
return 0;
}
@@ -39,7 +39,7 @@ int_fast32_t f64_to_i32_r_minMag( float64_t a, bool exact ) z = uZ.i;
if ( ( z < 0 ) != sign ) goto invalid;
if ( exact && ( (uint_fast64_t) absZ<<shiftCount != sig ) ) {
- softfloat_exceptionFlags |= softfloat_flag_inexact;
+ softfloat_raiseFlags( softfloat_flag_inexact );
}
return z;
invalid:
|