Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm no NaN tests for vax
details: https://anonhg.NetBSD.org/src/rev/869a27361650
branches: trunk
changeset: 327462:869a27361650
user: martin <martin%NetBSD.org@localhost>
date: Sat Mar 08 17:05:47 2014 +0000
description:
no NaN tests for vax
diffstat:
tests/lib/libm/t_atan.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r e89345db4fab -r 869a27361650 tests/lib/libm/t_atan.c
--- a/tests/lib/libm/t_atan.c Sat Mar 08 17:05:08 2014 +0000
+++ b/tests/lib/libm/t_atan.c Sat Mar 08 17:05:47 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_atan.c,v 1.13 2014/03/07 12:46:47 martin Exp $ */
+/* $NetBSD: t_atan.c,v 1.14 2014/03/08 17:05:47 martin Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -57,8 +57,12 @@
*/
ATF_LIBM_TEST(atan_nan, "Test atan/atanf(NaN) == NaN")
{
+#ifdef __vax__
+ atf_tc_skip("no NaN in vax floating point format");
+#else
T_LIBM_CHECK_NAN(0, atan, T_LIBM_NAN);
T_LIBM_CHECK_NAN(0, atanf, T_LIBM_NAN);
+#endif
}
ATF_LIBM_TEST(atan_inrange, "Test atan/atanf(x) for some values")
Home |
Main Index |
Thread Index |
Old Index