Module Name: src
Committed By: he
Date: Thu Sep 15 11:05:51 UTC 2011
Modified Files:
src/tests/lib/libm: t_tan.c
Log Message:
#ifdef on __vax__ one more place, to avoid reference to tanf() for vax.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libm/t_tan.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libm/t_tan.c
diff -u src/tests/lib/libm/t_tan.c:1.3 src/tests/lib/libm/t_tan.c:1.4
--- src/tests/lib/libm/t_tan.c:1.3 Wed Sep 14 13:29:58 2011
+++ src/tests/lib/libm/t_tan.c Thu Sep 15 11:05:50 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_tan.c,v 1.3 2011/09/14 13:29:58 jruoho Exp $ */
+/* $NetBSD: t_tan.c,v 1.4 2011/09/15 11:05:50 he Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -161,6 +161,7 @@
ATF_TC_BODY(tanf_angles, tc)
{
+#ifndef __vax__
const float eps = 1.0e-6;
float x, y;
size_t i;
@@ -174,6 +175,7 @@
atf_tc_fail_nonfatal("tanf(%d deg) != %0.01f",
angles[i].angle, angles[i].y);
}
+#endif
}
ATF_TC(tanf_nan);