|
|
@ -1,6 +1,6 @@ |
|
|
|
--- a/stress-fp-error.c
|
|
|
|
+++ b/stress-fp-error.c
|
|
|
|
@@ -117,42 +117,43 @@ static int stress_fp_error(const stress_
|
|
|
|
@@ -119,42 +119,43 @@ static int stress_fp_error(const stress_
|
|
|
|
do { |
|
|
|
volatile double d1, d2; |
|
|
|
|
|
|
@ -50,7 +50,7 @@ |
|
|
|
/* |
|
|
|
* Use volatiles to force compiler to generate code |
|
|
|
* to perform run time computation of 1.0 / M_PI |
|
|
|
@@ -173,14 +174,15 @@ static int stress_fp_error(const stress_
|
|
|
|
@@ -175,14 +176,15 @@ static int stress_fp_error(const stress_
|
|
|
|
stress_fp_check(args, "DBL_MAX + DBL_MAX / 2.0", |
|
|
|
DBL_MAX + DBL_MAX / 2.0, INFINITY, |
|
|
|
false, true, 0, FE_OVERFLOW | FE_INEXACT); |
|
|
|