Home
last modified time | relevance | path

Searched refs:gFloats (Results 1 – 1 of 1) sorted by relevance

/external/skia/tests/
DMathTest.cpp273 static const float gFloats[] = { in unittest_fastfloat() local
278 for (i = 0; i < SK_ARRAY_COUNT(gFloats); i++) { in unittest_fastfloat()
279 test_float_conversions(reporter, gFloats[i]); in unittest_fastfloat()
280 test_float_conversions(reporter, -gFloats[i]); in unittest_fastfloat()
329 static const float gFloats[] = { in unittest_half() local
334 for (size_t i = 0; i < SK_ARRAY_COUNT(gFloats); ++i) { in unittest_half()
335 SkHalf h = SkFloatToHalf(gFloats[i]); in unittest_half()
337 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(f, gFloats[i])); in unittest_half()