[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Support Tester's Use of std::abs(double)
From: |
Jeffrey Oldham |
Subject: |
Support Tester's Use of std::abs(double) |
Date: |
Wed, 5 Sep 2001 08:56:50 -0700 |
User-agent: |
Mutt/1.2.5i |
The Tester class sometimes uses the std::abs(double) to determine if
the resulting value is close enough to the desired value. We include
the C++ header files declaring the various std::abs. Without this
change, compiling src/Array/tests/array_test27.cpp fails using gcc
3.0.1 on Linux.
2001-09-05 Jeffrey D. Oldham <address@hidden>
* Tester.h: Add cstdlib and cmath to include declarations of
std::abs.
Tested on sequential Linux using gcc 3.0.1 by compiling Pooma library,
array_test27, and Field tests
Approved by Stephen Smith
Applied to mainline
Thanks,
Jeffrey D. Oldham
address@hidden
Tester.03Sep.16.2.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Support Tester's Use of std::abs(double),
Jeffrey Oldham <=