• Home
  • Raw
  • Download

Lines Matching refs:boundary_plus

272   DiyFp boundary_plus;  in TEST()  local
275 Double(1.5).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
277 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
280 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
284 Double(1.0).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
286 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
289 CHECK(boundary_plus.f() - diy_fp.f() > diy_fp.f() - boundary_minus.f()); in TEST()
291 CHECK((1 << 10) == boundary_plus.f() - diy_fp.f()); // NOLINT in TEST()
295 Double(min_double64).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
297 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
300 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
308 &boundary_plus); in TEST()
310 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
313 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
319 &boundary_plus); in TEST()
321 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
322 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
327 Double(max_double64).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
329 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
332 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
339 DiyFp boundary_plus; in TEST() local
343 Single(1.5f).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
345 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
348 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
355 Single(1.0f).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
357 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
360 CHECK(boundary_plus.f() - diy_fp.f() > diy_fp.f() - boundary_minus.f()); in TEST()
362 CHECK((kOne64 << 39) == boundary_plus.f() - diy_fp.f()); // NOLINT in TEST()
367 Single(min_float32).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
369 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
372 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
380 &boundary_plus); in TEST()
382 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
385 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
392 &boundary_plus); in TEST()
394 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
395 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
401 Single(max_float32).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
403 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
406 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()