aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2002-03-29 06:34:04 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2002-03-29 06:34:04 +0000
commitcb105687e53951e662e64ecd1ce49262d4de67b2 (patch)
tree47ccab68a5f46c7348ac5b5495a44cccda29052a
parentf8ed19583966af84157bae20f3fbe422e74ec7c2 (diff)
downloadgcc-cb105687e53951e662e64ecd1ce49262d4de67b2.zip
gcc-cb105687e53951e662e64ecd1ce49262d4de67b2.tar.gz
gcc-cb105687e53951e662e64ecd1ce49262d4de67b2.tar.bz2
* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
From-SVN: r51544
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/testsuite/18_support/numeric_limits.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 158c5c0..00015d4 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-28 Loren J. Rittle <ljrittle@acm.org>
+
+ * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
+
2002-03-28 Paolo Carlini <pcarlini@unitus.it>
* testsuite/24_iterators/istream_iterator.cc
diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits.cc b/libstdc++-v3/testsuite/18_support/numeric_limits.cc
index 8efaa46..9d6fa73 100644
--- a/libstdc++-v3/testsuite/18_support/numeric_limits.cc
+++ b/libstdc++-v3/testsuite/18_support/numeric_limits.cc
@@ -87,8 +87,8 @@ void test_extrema<long double>()
VERIFY( (extrema_min - limits_min) < epsilon );
VERIFY( (limits_min - extrema_min) < epsilon );
- VERIFY( (extrema_max - limits_max) < (1 + epsilon) );
- VERIFY( (limits_max - extrema_max) < (1 + epsilon) );
+ VERIFY( (extrema_max / limits_max) < (1 + epsilon) );
+ VERIFY( (limits_max / extrema_max) < (1 + epsilon) );
}
#endif