about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--math/test-fenv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/test-fenv.c b/math/test-fenv.c
index 520a7a182f..2b0ec6aeda 100644
--- a/math/test-fenv.c
+++ b/math/test-fenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de> and
    Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -640,8 +640,10 @@ initial_tests (void)
 {
   test_exceptions ("Initially all exceptions should be cleared",
                    NO_EXC, 0);
+#ifdef FE_TONEAREST
   test_rounding ("Rounding direction should be initalized to nearest",
                  FE_TONEAREST);
+#endif
 }
 
 int