summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--math/libm-test.inc12
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index af3683e696..2ed6d18555 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2003-01-17 Roland McGrath <roland@redhat.com>
+ * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
+ Add test of value 0.80190127184058835.
+
* elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
2003-01-17 Richard Henderson <rth@redhat.com>
diff --git a/math/libm-test.inc b/math/libm-test.inc
index c9ab066cb1..727913c361 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -1911,6 +1911,10 @@ cos_test (void)
TEST_f_f (cos, 0.75L, 0.731688868873820886311838753000084544L);
+#ifdef TEST_DOUBLE
+ TEST_f_f (cos, 0.80190127184058835, 0.69534156199418473);
+#endif
+
END (cos);
}
@@ -3887,6 +3891,10 @@ sin_test (void)
TEST_f_f (sin, -M_PI_2l, -1);
TEST_f_f (sin, 0.75L, 0.681638760023334166733241952779893935L);
+#ifdef TEST_DOUBLE
+ TEST_f_f (sin, 0.80190127184058835, 0.71867942238767868);
+#endif
+
END (sin);
}
@@ -3918,6 +3926,10 @@ sincos_test (void)
TEST_extra (sincos, M_PI_6l*2.0, 0.86602540378443864676372317075293616L, 0.5);
TEST_extra (sincos, 0.75L, 0.681638760023334166733241952779893935L, 0.731688868873820886311838753000084544L);
+#ifdef TEST_DOUBLE
+ TEST_extra (sincos, 0.80190127184058835, 0.71867942238767868, 0.69534156199418473);
+#endif
+
END (sincos);
}