• Home
  • Raw
  • Download

Lines Matching refs:valueAsBits

21 using __llvm_libc::fputil::valueAsBits;
33 valueAsBits(__llvm_libc::frexpf( in TEST()
36 valueAsBits(__llvm_libc::frexpf( in TEST()
40 valueAsBits(__llvm_libc::frexpf( in TEST()
44 valueAsBits(__llvm_libc::frexpf( in TEST()
47 EXPECT_EQ(BitPatterns::inf, valueAsBits(__llvm_libc::frexpf( in TEST()
50 valueAsBits(__llvm_libc::frexpf(valueFromBits(BitPatterns::negInf), in TEST()
54 valueAsBits(__llvm_libc::frexpf(valueFromBits(BitPatterns::zero), in TEST()
58 valueAsBits(__llvm_libc::frexpf(valueFromBits(BitPatterns::negZero), in TEST()
66 EXPECT_EQ(valueAsBits(0.5f), in TEST()
67 valueAsBits(__llvm_libc::frexpf(1.0f, &exponent))); in TEST()
69 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
70 valueAsBits(__llvm_libc::frexpf(-1.0f, &exponent))); in TEST()
73 EXPECT_EQ(valueAsBits(0.5f), in TEST()
74 valueAsBits(__llvm_libc::frexpf(2.0f, &exponent))); in TEST()
76 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
77 valueAsBits(__llvm_libc::frexpf(-2.0f, &exponent))); in TEST()
80 EXPECT_EQ(valueAsBits(0.5f), in TEST()
81 valueAsBits(__llvm_libc::frexpf(4.0f, &exponent))); in TEST()
83 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
84 valueAsBits(__llvm_libc::frexpf(-4.0f, &exponent))); in TEST()
87 EXPECT_EQ(valueAsBits(0.5f), in TEST()
88 valueAsBits(__llvm_libc::frexpf(8.0f, &exponent))); in TEST()
90 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
91 valueAsBits(__llvm_libc::frexpf(-8.0f, &exponent))); in TEST()
94 EXPECT_EQ(valueAsBits(0.5f), in TEST()
95 valueAsBits(__llvm_libc::frexpf(16.0f, &exponent))); in TEST()
97 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
98 valueAsBits(__llvm_libc::frexpf(-16.0f, &exponent))); in TEST()
101 EXPECT_EQ(valueAsBits(0.5f), in TEST()
102 valueAsBits(__llvm_libc::frexpf(32.0f, &exponent))); in TEST()
104 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
105 valueAsBits(__llvm_libc::frexpf(-32.0f, &exponent))); in TEST()
108 EXPECT_EQ(valueAsBits(0.5f), in TEST()
109 valueAsBits(__llvm_libc::frexpf(64.0f, &exponent))); in TEST()
111 EXPECT_EQ(valueAsBits(-0.5f), in TEST()
112 valueAsBits(__llvm_libc::frexpf(-64.0f, &exponent))); in TEST()
119 EXPECT_EQ(valueAsBits(0.75f), in TEST()
120 valueAsBits(__llvm_libc::frexpf(24.0f, &exponent))); in TEST()
122 EXPECT_EQ(valueAsBits(-0.75f), in TEST()
123 valueAsBits(__llvm_libc::frexpf(-24.0f, &exponent))); in TEST()
126 EXPECT_EQ(valueAsBits(0.625f), in TEST()
127 valueAsBits(__llvm_libc::frexpf(40.0f, &exponent))); in TEST()
129 EXPECT_EQ(valueAsBits(-0.625f), in TEST()
130 valueAsBits(__llvm_libc::frexpf(-40.0f, &exponent))); in TEST()
133 EXPECT_EQ(valueAsBits(0.78125f), in TEST()
134 valueAsBits(__llvm_libc::frexpf(800.0f, &exponent))); in TEST()
136 EXPECT_EQ(valueAsBits(-0.78125f), in TEST()
137 valueAsBits(__llvm_libc::frexpf(-800.0f, &exponent))); in TEST()