nexttowardf
float nexttowardf(float, long double);
CHECK(i, nexttowardf, x[i], x[i], x[i]);
CHECK(i, nexttowardf, -x[i], -x[i], -x[i]);
CHECK(i, nexttowardf, x[i], x[i]*(1 + LDBL_EPSILON),
CHECK(i, nexttowardf, x[i], x[i + 1], x[i + 1]);
CHECK(i, nexttowardf, x[i], x[n - 1], x[i + 1]);
CHECK(i, nexttowardf, x[i], INFINITY, x[i + 1]);
CHECK(i, nexttowardf, -x[i], -x[i + 1], -x[i + 1]);
CHECK(i, nexttowardf, -x[i], -x[n - 1], -x[i + 1]);
CHECK(i, nexttowardf, -x[i], -INFINITY, -x[i + 1]);
CHECK(i, nexttowardf, x[i], x[i]*(1 - LDBL_EPSILON/2),
CHECK(i, nexttowardf, x[i], x[i - 1], x[i - 1]);
CHECK(i, nexttowardf, x[i], x[0], x[i - 1]);
CHECK(i, nexttowardf, x[i], +0., x[i - 1]);
CHECK(i, nexttowardf, x[i], -0., x[i - 1]);
CHECK(i, nexttowardf, x[i], -x[0], x[i - 1]);
CHECK(i, nexttowardf, x[i], -x[i], x[i - 1]);
CHECK(i, nexttowardf, x[i], -INFINITY, x[i - 1]);
CHECK(i, nexttowardf, -x[i], -x[i - 1], -x[i - 1]);
CHECK(i, nexttowardf, -x[i], -x[0], -x[i - 1]);
CHECK(i, nexttowardf, -x[i], -0., -x[i - 1]);
CHECK(i, nexttowardf, -x[i], +0., -x[i - 1]);
CHECK(i, nexttowardf, -x[i], x[0], -x[i - 1]);
CHECK(i, nexttowardf, -x[i], INFINITY, -x[i - 1]);
ATF_CHECK(isnan(nexttowardf(NAN, 0)));
ATF_CHECK(isnan(nexttowardf(0, NAN)));
CHECK(1, nexttowardf, z_neg, +INFINITY, m);
CHECK(3, nexttowardf, z_pos, +INFINITY, m);
CHECK(5, nexttowardf, z_pos, -INFINITY, -m);
CHECK(7, nexttowardf, z_neg, -INFINITY, -m);
CHECK(9, nexttowardf, -m, +INFINITY, 0);
CHECK(11, nexttowardf, m, -INFINITY, 0);