[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
array_test5.cpp Revision to Incorporate Tolerance
From: |
Jeffrey Oldham |
Subject: |
array_test5.cpp Revision to Incorporate Tolerance |
Date: |
Wed, 5 Sep 2001 13:43:38 -0700 |
User-agent: |
Mutt/1.2.5i |
array_test5 was failing using gcc 3.0.1 on Linux because floating
point and complex numbers wre compared using ==. We revise to check
within a tolerance of 1.0e-08.
2001-09-05 Jeffrey D. Oldham <address@hidden>
* array_test5.cpp (floatCheck): New function that uses a
tolerance.
(main): Replace appropriate uses of check with floatCheck.
Tested on sequential Linux using gcc 3.0.1 by compiling array_test5
Approved by Stephen Smith
Applied to mainline
Thanks,
Jeffrey D. Oldham
address@hidden
array_test5.05Sep.13.4.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- array_test5.cpp Revision to Incorporate Tolerance,
Jeffrey Oldham <=