Lines Matching refs:x
16 double x = 2.0; in TEST() local
17 EXPECT_EQ(x, nexttoward(x, (long double)x)); in TEST()
18 EXPECT_GT(x, nexttoward(x, (long double)(x * 2.))); in TEST()
19 EXPECT_LT(x, nexttoward(x, (long double)(x - 1.0))); in TEST()
23 float x = 2.0; in TEST() local
24 EXPECT_EQ(x, nexttowardf(x, (long double)x)); in TEST()
25 EXPECT_GT(x, nexttowardf(x, (long double)(x * 2.))); in TEST()
26 EXPECT_LT(x, nexttowardf(x, (long double)(x - 1.0))); in TEST()
30 long double x = 2.0; in TEST() local
31 EXPECT_EQ(x, nexttowardl(x, x)); in TEST()
32 EXPECT_GT(x, nexttowardl(x, x * 2.)); in TEST()
33 EXPECT_LT(x, nexttowardl(x, x - 1.0)); in TEST()