• Home
  • Raw
  • Download

Lines Matching refs:truncf

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