From 17dea1887fcc116941e07cb0f5f2078140ab0384 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 3 Dec 2013 20:50:51 +0000 Subject: Fix exp2 errno setting on underflow (bug 16283). --- math/auto-libm-test-in | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'math/auto-libm-test-in') diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 126a9ea..83832a7 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -203,22 +203,18 @@ exp2 -0 exp2 10 exp2 -1 exp2 1e6 -# Bug 16283: errno may not be set on underflow. -exp2 -1e6 missing-errno +exp2 -1e6 exp2 max -# Bug 16283: errno may not be set on underflow. -exp2 -max missing-errno +exp2 -max exp2 0.75 exp2 100.5 exp2 127 exp2 -149 exp2 1000.25 exp2 1023 -# Bug 16283: errno may not be set on underflow. -exp2 -1074 missing-errno +exp2 -1074 exp2 16383 -# Bug 16283: errno may not be set on underflow. -exp2 -16400 missing-errno +exp2 -16400 expm1 0 expm1 -0 -- cgit v1.1