Lines Matching refs:valueAsBits
18 using __llvm_libc::fputil::valueAsBits;
28 valueAsBits(__llvm_libc::modff( in TEST()
31 valueAsBits(__llvm_libc::modff( in TEST()
35 valueAsBits(__llvm_libc::modff( in TEST()
39 valueAsBits(__llvm_libc::modff( in TEST()
43 valueAsBits(__llvm_libc::modff(valueFromBits(BitPatterns::inf), in TEST()
45 EXPECT_EQ(valueAsBits(integral), BitPatterns::inf); in TEST()
48 valueAsBits(__llvm_libc::modff(valueFromBits(BitPatterns::negInf), in TEST()
50 EXPECT_EQ(valueAsBits(integral), BitPatterns::negInf); in TEST()
53 valueAsBits(__llvm_libc::modff(valueFromBits(BitPatterns::zero), in TEST()
55 EXPECT_EQ(valueAsBits(integral), BitPatterns::zero); in TEST()
58 valueAsBits(__llvm_libc::modff(valueFromBits(BitPatterns::negZero), in TEST()
60 EXPECT_EQ(valueAsBits(integral), BitPatterns::negZero); in TEST()
67 valueAsBits(__llvm_libc::modff(1.0f, &integral))); in TEST()
68 EXPECT_EQ(valueAsBits(integral), valueAsBits(1.0f)); in TEST()
71 valueAsBits(__llvm_libc::modff(-1.0f, &integral))); in TEST()
72 EXPECT_EQ(valueAsBits(integral), valueAsBits(-1.0f)); in TEST()
75 valueAsBits(__llvm_libc::modff(10.0f, &integral))); in TEST()
76 EXPECT_EQ(valueAsBits(integral), valueAsBits(10.0f)); in TEST()
79 valueAsBits(__llvm_libc::modff(-10.0f, &integral))); in TEST()
80 EXPECT_EQ(valueAsBits(integral), valueAsBits(-10.0f)); in TEST()
83 valueAsBits(__llvm_libc::modff(12345.0f, &integral))); in TEST()
84 EXPECT_EQ(valueAsBits(integral), valueAsBits(12345.0f)); in TEST()
87 valueAsBits(__llvm_libc::modff(-12345.0f, &integral))); in TEST()
88 EXPECT_EQ(valueAsBits(integral), valueAsBits(-12345.0f)); in TEST()
94 EXPECT_EQ(valueAsBits(0.5f), in TEST()
95 valueAsBits(__llvm_libc::modff(1.5f, &integral))); in TEST()
96 EXPECT_EQ(valueAsBits(integral), valueAsBits(1.0f)); in TEST()
98 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
99 valueAsBits(__llvm_libc::modff(-1.5f, &integral))); in TEST()
100 EXPECT_EQ(valueAsBits(integral), valueAsBits(-1.0f)); in TEST()
102 EXPECT_EQ(valueAsBits(0.75f), in TEST()
103 valueAsBits(__llvm_libc::modff(10.75f, &integral))); in TEST()
104 EXPECT_EQ(valueAsBits(integral), valueAsBits(10.0f)); in TEST()
106 EXPECT_EQ(valueAsBits(-0.75f), in TEST()
107 valueAsBits(__llvm_libc::modff(-10.75f, &integral))); in TEST()
108 EXPECT_EQ(valueAsBits(integral), valueAsBits(-10.0f)); in TEST()
110 EXPECT_EQ(valueAsBits(0.125f), in TEST()
111 valueAsBits(__llvm_libc::modff(100.125f, &integral))); in TEST()
112 EXPECT_EQ(valueAsBits(integral), valueAsBits(100.0f)); in TEST()
114 EXPECT_EQ(valueAsBits(-0.125f), in TEST()
115 valueAsBits(__llvm_libc::modff(-100.125f, &integral))); in TEST()
116 EXPECT_EQ(valueAsBits(integral), valueAsBits(-100.0f)); in TEST()