Lines Matching refs:sk_float_nextlog2
290 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::infinity()) == 0); in test_nextlog2()
291 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::max()) == 0); in test_nextlog2()
292 REPORTER_ASSERT(r, sk_float_nextlog2(-1000.0f) == 0); in test_nextlog2()
293 REPORTER_ASSERT(r, sk_float_nextlog2(-0.1f) == 0); in test_nextlog2()
294 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::min()) == 0); in test_nextlog2()
295 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::denorm_min()) == 0); in test_nextlog2()
296 REPORTER_ASSERT(r, sk_float_nextlog2(0.0f) == 0); in test_nextlog2()
297 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::denorm_min()) == 0); in test_nextlog2()
298 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::min()) == 0); in test_nextlog2()
299 REPORTER_ASSERT(r, sk_float_nextlog2(0.1f) == 0); in test_nextlog2()
300 REPORTER_ASSERT(r, sk_float_nextlog2(1.0f) == 0); in test_nextlog2()
301 REPORTER_ASSERT(r, sk_float_nextlog2(1.1f) == 1); in test_nextlog2()
302 REPORTER_ASSERT(r, sk_float_nextlog2(2.0f) == 1); in test_nextlog2()
303 REPORTER_ASSERT(r, sk_float_nextlog2(2.1f) == 2); in test_nextlog2()
304 REPORTER_ASSERT(r, sk_float_nextlog2(3.0f) == 2); in test_nextlog2()
305 REPORTER_ASSERT(r, sk_float_nextlog2(3.1f) == 2); in test_nextlog2()
306 REPORTER_ASSERT(r, sk_float_nextlog2(4.0f) == 2); in test_nextlog2()
307 REPORTER_ASSERT(r, sk_float_nextlog2(4.1f) == 3); in test_nextlog2()
308 REPORTER_ASSERT(r, sk_float_nextlog2(5.0f) == 3); in test_nextlog2()
309 REPORTER_ASSERT(r, sk_float_nextlog2(5.1f) == 3); in test_nextlog2()
310 REPORTER_ASSERT(r, sk_float_nextlog2(6.0f) == 3); in test_nextlog2()
311 REPORTER_ASSERT(r, sk_float_nextlog2(6.1f) == 3); in test_nextlog2()
312 REPORTER_ASSERT(r, sk_float_nextlog2(7.0f) == 3); in test_nextlog2()
313 REPORTER_ASSERT(r, sk_float_nextlog2(7.1f) == 3); in test_nextlog2()
314 REPORTER_ASSERT(r, sk_float_nextlog2(8.0f) == 3); in test_nextlog2()
315 REPORTER_ASSERT(r, sk_float_nextlog2(8.1f) == 4); in test_nextlog2()
316 REPORTER_ASSERT(r, sk_float_nextlog2(9.0f) == 4); in test_nextlog2()
317 REPORTER_ASSERT(r, sk_float_nextlog2(9.1f) == 4); in test_nextlog2()
318 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::max()) == 128); in test_nextlog2()
319 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::infinity()) > 0); in test_nextlog2()
320 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::quiet_NaN()) >= 0); in test_nextlog2()
325 REPORTER_ASSERT(r, sk_float_nextlog2(pow2) == i); in test_nextlog2()
326 REPORTER_ASSERT(r, sk_float_nextlog2(pow2 + epsilon) == i + 1); in test_nextlog2()
327 REPORTER_ASSERT(r, sk_float_nextlog2(pow2 - epsilon) == i); in test_nextlog2()