• Home
  • Raw
  • Download

Lines Matching refs:roundf

23   EXPECT_FP_EQ(zero, __llvm_libc::roundf(zero));  in TEST()
24 EXPECT_FP_EQ(negZero, __llvm_libc::roundf(negZero)); in TEST()
26 EXPECT_FP_EQ(inf, __llvm_libc::roundf(inf)); in TEST()
27 EXPECT_FP_EQ(negInf, __llvm_libc::roundf(negInf)); in TEST()
30 ASSERT_NE(isnan(__llvm_libc::roundf(nan)), 0); in TEST()
34 EXPECT_FP_EQ(1.0f, __llvm_libc::roundf(1.0f)); in TEST()
35 EXPECT_FP_EQ(-1.0f, __llvm_libc::roundf(-1.0f)); in TEST()
36 EXPECT_FP_EQ(10.0f, __llvm_libc::roundf(10.0f)); in TEST()
37 EXPECT_FP_EQ(-10.0f, __llvm_libc::roundf(-10.0f)); in TEST()
38 EXPECT_FP_EQ(1234.0f, __llvm_libc::roundf(1234.0f)); in TEST()
39 EXPECT_FP_EQ(-1234.0f, __llvm_libc::roundf(-1234.0f)); in TEST()
43 EXPECT_FP_EQ(1.0f, __llvm_libc::roundf(0.5f)); in TEST()
44 EXPECT_FP_EQ(-1.0f, __llvm_libc::roundf(-0.5f)); in TEST()
45 EXPECT_FP_EQ(0.0f, __llvm_libc::roundf(0.115f)); in TEST()
46 EXPECT_FP_EQ(-0.0f, __llvm_libc::roundf(-0.115f)); in TEST()
47 EXPECT_FP_EQ(1.0f, __llvm_libc::roundf(0.715f)); in TEST()
48 EXPECT_FP_EQ(-1.0f, __llvm_libc::roundf(-0.715f)); in TEST()
49 EXPECT_FP_EQ(1.0f, __llvm_libc::roundf(1.3f)); in TEST()
50 EXPECT_FP_EQ(-1.0f, __llvm_libc::roundf(-1.3f)); in TEST()
51 EXPECT_FP_EQ(2.0f, __llvm_libc::roundf(1.5f)); in TEST()
52 EXPECT_FP_EQ(-2.0f, __llvm_libc::roundf(-1.5f)); in TEST()
53 EXPECT_FP_EQ(2.0f, __llvm_libc::roundf(1.75f)); in TEST()
54 EXPECT_FP_EQ(-2.0f, __llvm_libc::roundf(-1.75f)); in TEST()
55 EXPECT_FP_EQ(10.0f, __llvm_libc::roundf(10.32f)); in TEST()
56 EXPECT_FP_EQ(-10.0f, __llvm_libc::roundf(-10.32f)); in TEST()
57 EXPECT_FP_EQ(11.0f, __llvm_libc::roundf(10.65f)); in TEST()
58 EXPECT_FP_EQ(-11.0f, __llvm_libc::roundf(-10.65f)); in TEST()
59 EXPECT_FP_EQ(1234.0f, __llvm_libc::roundf(1234.38f)); in TEST()
60 EXPECT_FP_EQ(-1234.0f, __llvm_libc::roundf(-1234.38f)); in TEST()
61 EXPECT_FP_EQ(1235.0f, __llvm_libc::roundf(1234.96f)); in TEST()
62 EXPECT_FP_EQ(-1235.0f, __llvm_libc::roundf(-1234.96f)); in TEST()
74 ASSERT_MPFR_MATCH(mpfr::Operation::Round, x, __llvm_libc::roundf(x), 0.0); in TEST()