Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libm #ifdef on __vax__ one more place, to avoid re...



details:   https://anonhg.NetBSD.org/src/rev/3821d2e1649f
branches:  trunk
changeset: 769580:3821d2e1649f
user:      he <he%NetBSD.org@localhost>
date:      Thu Sep 15 11:05:50 2011 +0000

description:
#ifdef on __vax__ one more place, to avoid reference to tanf() for vax.

diffstat:

 tests/lib/libm/t_tan.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 2e7355dc4cd6 -r 3821d2e1649f tests/lib/libm/t_tan.c
--- a/tests/lib/libm/t_tan.c    Thu Sep 15 09:44:59 2011 +0000
+++ b/tests/lib/libm/t_tan.c    Thu Sep 15 11:05:50 2011 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index