mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
13450.cc: Do not test long double in IBM long double case.
* testsuite/26_numerics/complex/13450.cc: Do not test long double in IBM long double case. From-SVN: r118815
This commit is contained in:
committed by
Joseph Myers
parent
55c0e7c1f6
commit
292c6ddee3
@@ -1,3 +1,8 @@
|
||||
2006-11-14 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* testsuite/26_numerics/complex/13450.cc: Do not test long double
|
||||
in IBM long double case.
|
||||
|
||||
2006-11-13 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/ext/bitmap_allocator.h: Uglify some names.
|
||||
|
||||
@@ -61,6 +61,11 @@ void test01()
|
||||
d2 = 1.4;
|
||||
test01_do(d1, d2);
|
||||
|
||||
#if __LDBL_MANT_DIG__ != 106
|
||||
/* For IBM long double, epsilon is too small (since 1.0 plus any
|
||||
double is representable) to be able to expect results within
|
||||
epsilon * 100 (which may be much less than 1ulp for a particular
|
||||
long double value). */
|
||||
long double ld1 = -1.0l;
|
||||
long double ld2 = 0.5l;
|
||||
test01_do(ld1, ld2);
|
||||
@@ -68,6 +73,7 @@ void test01()
|
||||
ld1 = -3.2l;
|
||||
ld2 = 1.4l;
|
||||
test01_do(ld1, ld2);
|
||||
#endif
|
||||
}
|
||||
|
||||
int main()
|
||||
|
||||
Reference in New Issue
Block a user