This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(mainline and 3.1) PATCH: testsuite/18_support/numeric_limits.cc


This recent patch:

        * testsuite/18_support/numeric_limits.cc (test_extrema): Make
        debugger-friendly.

accidentally changed two purposeful '/' to '-', breaking the test
(which was a specialization only exercised on FreeBSD).

Applied as obvious to both locations.

	* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.

Index: testsuite/18_support/numeric_limits.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/18_support/numeric_limits.cc,v
retrieving revision 1.11
diff -c -r1.11 numeric_limits.cc
*** numeric_limits.cc	2002/03/28 03:15:07	1.11
--- numeric_limits.cc	2002/03/29 06:24:20
***************
*** 87,94 ****
  
    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) );
  }
  #endif
  
--- 87,94 ----
  
    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) );
  }
  #endif
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]