aboutsummaryrefslogtreecommitdiff
path: root/softfloat/f32_to_ui64_r_minMag.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/f32_to_ui64_r_minMag.c')
-rwxr-xr-xsoftfloat/f32_to_ui64_r_minMag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/softfloat/f32_to_ui64_r_minMag.c b/softfloat/f32_to_ui64_r_minMag.c
index 738d6b1..6e54594 100755
--- a/softfloat/f32_to_ui64_r_minMag.c
+++ b/softfloat/f32_to_ui64_r_minMag.c
@@ -20,7 +20,7 @@ uint_fast64_t f32_to_ui64_r_minMag( float32_t a, bool exact )
sig = fracF32UI( uiA );
if ( exp < 0x7F ) {
if ( exact && ( exp | sig ) ) {
- softfloat_exceptionFlags |= softfloat_flag_inexact;
+ softfloat_raiseFlags( softfloat_flag_inexact );
}
return 0;
}
@@ -34,7 +34,7 @@ uint_fast64_t f32_to_ui64_r_minMag( float32_t a, bool exact )
if (
exact && ( shiftCount < 0 ) && (uint32_t) ( sig<<( shiftCount & 31 ) )
) {
- softfloat_exceptionFlags |= softfloat_flag_inexact;
+ softfloat_raiseFlags( softfloat_flag_inexact );
}
return z;
invalid: