diff options
Diffstat (limited to 'source/test_abcz_f64.c')
-rw-r--r-- | source/test_abcz_f64.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/test_abcz_f64.c b/source/test_abcz_f64.c index ce34e7c..fb2e3b6 100644 --- a/source/test_abcz_f64.c +++ b/source/test_abcz_f64.c @@ -1,12 +1,12 @@ /*============================================================================ -This C source file is part of TestFloat, Release 3b, a package of programs for +This C source file is part of TestFloat, Release 3c, 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, 2017 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: @@ -43,6 +43,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "writeCase.h" #include "testLoops.h" +#ifdef FLOAT64 + #pragma STDC FENV_ACCESS ON void @@ -95,7 +97,7 @@ void ++verCases_errorCount; verCases_writeErrorFound( 10000 - count ); writeCase_abc_f64( - genCases_f64_a, genCases_f64_b, genCases_f64_c, "\n\t" ); + genCases_f64_a, genCases_f64_b, genCases_f64_c ); writeCase_z_f64( trueZ, trueFlags, subjZ, subjFlags ); if ( verCases_errorCount == verCases_maxErrorCount ) break; } @@ -105,3 +107,5 @@ void } +#endif + |