aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index ffb781f2b7..00e3d6e7ef 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -10626,10 +10626,10 @@ static void
initialize (void)
{
fpstack_test ("start *init*");
- plus_zero = 0.0;
- qnan_value = plus_zero / plus_zero; /* Suppress GCC warning */
- minus_zero = FUNC(copysign) (0.0, -1.0);
+ plus_zero = 0.0;
+ qnan_value = FUNC (__builtin_nan) ("");
+ minus_zero = FUNC (copysign) (0.0, -1.0);
plus_infty = CHOOSE (HUGE_VALL, HUGE_VAL, HUGE_VALF,
HUGE_VALL, HUGE_VAL, HUGE_VALF);
minus_infty = CHOOSE (-HUGE_VALL, -HUGE_VAL, -HUGE_VALF,