aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_roundPackToUI64.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/s_roundPackToUI64.c')
-rwxr-xr-xsoftfloat/s_roundPackToUI64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softfloat/s_roundPackToUI64.c b/softfloat/s_roundPackToUI64.c
index d42266f..dc9992b 100755
--- a/softfloat/s_roundPackToUI64.c
+++ b/softfloat/s_roundPackToUI64.c
@@ -36,7 +36,7 @@ uint_fast64_t
& roundNearestEven );
}
if ( sign && sig64 ) goto invalid;
- if ( exact && sig0 ) softfloat_exceptionFlags |= softfloat_flag_inexact;
+ if ( exact && sig0 ) softfloat_raiseFlags( softfloat_flag_inexact );
return sig64;
invalid:
softfloat_raiseFlags( softfloat_flag_invalid );