Fix a test that doesn't work on architectures where long double is no
wider than double. Thanks to Ian Lepore for catching the bug.
This commit is contained in:
parent
b60ee81e3d
commit
3e7ed66b1e
@ -211,7 +211,9 @@ main(int argc, char *argv[])
|
||||
test(idd(nextafter(DBL_MAX, INFINITY)), INFINITY, ex_over);
|
||||
test(idd(nextafter(INFINITY, 0.0)), DBL_MAX, 0);
|
||||
test(idd(nexttoward(DBL_MAX, DBL_MAX * 2.0L)), INFINITY, ex_over);
|
||||
#if LDBL_MANT_DIG > 53
|
||||
test(idd(nexttoward(INFINITY, DBL_MAX * 2.0L)), DBL_MAX, 0);
|
||||
#endif
|
||||
|
||||
testf(idf(nextafterf(FLT_MAX, INFINITY)), INFINITY, ex_over);
|
||||
testf(idf(nextafterf(INFINITY, 0.0)), FLT_MAX, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user