summaryrefslogtreecommitdiff
path: root/source/test_a_f32_z_ui64_x.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/test_a_f32_z_ui64_x.c')
-rw-r--r--source/test_a_f32_z_ui64_x.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/source/test_a_f32_z_ui64_x.c b/source/test_a_f32_z_ui64_x.c
index f684c0f..2287ccb 100644
--- a/source/test_a_f32_z_ui64_x.c
+++ b/source/test_a_f32_z_ui64_x.c
@@ -1,12 +1,12 @@
/*============================================================================
-This C source file is part of TestFloat, Release 3d, a package of programs for
+This C source file is part of TestFloat, Release 3e, a package of programs for
testing the correctness of floating-point arithmetic complying with the IEEE
Standard for Floating-Point, by John R. Hauser.
-Copyright 2011, 2012, 2013, 2014 The Regents of the University of California.
-All rights reserved.
+Copyright 2011, 2012, 2013, 2014, 2018 The Regents of the University of
+California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -79,15 +79,10 @@ void
}
if ( (trueZ != subjZ) || (trueFlags != subjFlags) ) {
if (
- ! verCases_checkNaNs && f32_isSignalingNaN( genCases_f32_a )
- ) {
- trueFlags |= softfloat_flag_invalid;
- }
- if (
- (trueZ != UINT64_C( 0xFFFFFFFFFFFFFFFF ))
- || (subjZ != UINT64_C( 0xFFFFFFFFFFFFFFFF ))
+ verCases_checkInvInts
|| (trueFlags != softfloat_flag_invalid)
|| (subjFlags != softfloat_flag_invalid)
+ || ((subjZ != UINT64_C( 0xFFFFFFFFFFFFFFFF )) && (subjZ != 0))
) {
++verCases_errorCount;
verCases_writeErrorFound( 10000 - count );