• Home
  • Raw
  • Download

Lines Matching refs:valueAsBits

18 using __llvm_libc::fputil::valueAsBits;
28 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::aQuietNaN), in TEST()
31 valueAsBits(__llvm_libc::modf( in TEST()
35 valueAsBits(__llvm_libc::modf( in TEST()
39 valueAsBits(__llvm_libc::modf( in TEST()
43 valueAsBits( in TEST()
45 EXPECT_EQ(valueAsBits(integral), BitPatterns::inf); in TEST()
48 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negInf), in TEST()
50 EXPECT_EQ(valueAsBits(integral), BitPatterns::negInf); in TEST()
53 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::zero), in TEST()
55 EXPECT_EQ(valueAsBits(integral), BitPatterns::zero); in TEST()
58 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negZero), in TEST()
60 EXPECT_EQ(valueAsBits(integral), BitPatterns::negZero); in TEST()
66 EXPECT_EQ(BitPatterns::zero, valueAsBits(__llvm_libc::modf(1.0, &integral))); in TEST()
67 EXPECT_EQ(valueAsBits(integral), valueAsBits(1.0)); in TEST()
70 valueAsBits(__llvm_libc::modf(-1.0, &integral))); in TEST()
71 EXPECT_EQ(valueAsBits(integral), valueAsBits(-1.0)); in TEST()
73 EXPECT_EQ(BitPatterns::zero, valueAsBits(__llvm_libc::modf(10.0, &integral))); in TEST()
74 EXPECT_EQ(valueAsBits(integral), valueAsBits(10.0)); in TEST()
77 valueAsBits(__llvm_libc::modf(-10.0, &integral))); in TEST()
78 EXPECT_EQ(valueAsBits(integral), valueAsBits(-10.0)); in TEST()
81 valueAsBits(__llvm_libc::modf(12345.0, &integral))); in TEST()
82 EXPECT_EQ(valueAsBits(integral), valueAsBits(12345.0)); in TEST()
85 valueAsBits(__llvm_libc::modf(-12345.0, &integral))); in TEST()
86 EXPECT_EQ(valueAsBits(integral), valueAsBits(-12345.0)); in TEST()
92 EXPECT_EQ(valueAsBits(0.5), valueAsBits(__llvm_libc::modf(1.5, &integral))); in TEST()
93 EXPECT_EQ(valueAsBits(integral), valueAsBits(1.0)); in TEST()
95 EXPECT_EQ(valueAsBits(-0.5), valueAsBits(__llvm_libc::modf(-1.5, &integral))); in TEST()
96 EXPECT_EQ(valueAsBits(integral), valueAsBits(-1.0)); in TEST()
98 EXPECT_EQ(valueAsBits(0.75), in TEST()
99 valueAsBits(__llvm_libc::modf(10.75, &integral))); in TEST()
100 EXPECT_EQ(valueAsBits(integral), valueAsBits(10.0)); in TEST()
102 EXPECT_EQ(valueAsBits(-0.75), in TEST()
103 valueAsBits(__llvm_libc::modf(-10.75, &integral))); in TEST()
104 EXPECT_EQ(valueAsBits(integral), valueAsBits(-10.0)); in TEST()
106 EXPECT_EQ(valueAsBits(0.125), in TEST()
107 valueAsBits(__llvm_libc::modf(100.125, &integral))); in TEST()
108 EXPECT_EQ(valueAsBits(integral), valueAsBits(100.0)); in TEST()
110 EXPECT_EQ(valueAsBits(-0.125), in TEST()
111 valueAsBits(__llvm_libc::modf(-100.125, &integral))); in TEST()
112 EXPECT_EQ(valueAsBits(integral), valueAsBits(-100.0)); in TEST()