Lines Matching refs:diy_fp

56   DiyFp diy_fp = Double(ordered).AsDiyFp();  in TEST()  local
57 CHECK_EQ(0x12 - 0x3FF - 52, diy_fp.e()); in TEST()
59 CHECK(V8_2PART_UINT64_C(0x00134567, 89ABCDEF) == diy_fp.f()); // NOLINT in TEST()
62 diy_fp = Double(min_double64).AsDiyFp(); in TEST()
63 CHECK_EQ(-0x3FF - 52 + 1, diy_fp.e()); in TEST()
65 CHECK(1 == diy_fp.f()); // NOLINT in TEST()
68 diy_fp = Double(max_double64).AsDiyFp(); in TEST()
69 CHECK_EQ(0x7FE - 0x3FF - 52, diy_fp.e()); in TEST()
70 CHECK(V8_2PART_UINT64_C(0x001fffff, ffffffff) == diy_fp.f()); // NOLINT in TEST()
76 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp(); in TEST() local
77 CHECK_EQ(0x12 - 0x3FF - 52 - 11, diy_fp.e()); in TEST()
79 diy_fp.f()); // NOLINT in TEST()
82 diy_fp = Double(min_double64).AsNormalizedDiyFp(); in TEST()
83 CHECK_EQ(-0x3FF - 52 + 1 - 63, diy_fp.e()); in TEST()
85 CHECK(V8_2PART_UINT64_C(0x80000000, 00000000) == diy_fp.f()); // NOLINT in TEST()
88 diy_fp = Double(max_double64).AsNormalizedDiyFp(); in TEST()
89 CHECK_EQ(0x7FE - 0x3FF - 52 - 11, diy_fp.e()); in TEST()
91 diy_fp.f()); // NOLINT in TEST()
155 DiyFp diy_fp = Double(1.5).AsNormalizedDiyFp(); in TEST() local
157 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
158 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
161 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
162 CHECK((1 << 10) == diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()
164 diy_fp = Double(1.0).AsNormalizedDiyFp(); in TEST()
166 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
167 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
170 CHECK_GT(boundary_plus.f() - diy_fp.f(), diy_fp.f() - boundary_minus.f()); in TEST()
171 CHECK((1 << 9) == diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()
172 CHECK((1 << 10) == boundary_plus.f() - diy_fp.f()); // NOLINT in TEST()
175 diy_fp = Double(min_double64).AsNormalizedDiyFp(); in TEST()
177 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
178 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
181 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
184 diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()
187 diy_fp = Double(smallest_normal64).AsNormalizedDiyFp(); in TEST()
190 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
191 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
194 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
195 CHECK((1 << 10) == diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()
198 diy_fp = Double(largest_denormal64).AsNormalizedDiyFp(); in TEST()
201 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
202 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
203 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
204 CHECK((1 << 11) == diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()
207 diy_fp = Double(max_double64).AsNormalizedDiyFp(); in TEST()
209 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
210 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
213 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
214 CHECK((1 << 10) == diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()