Lines Matching defs:magSq
36 float magSq = get_length_squared(x, y, z);
37 if (SkScalarIsFinite(magSq)) {
38 return sk_float_sqrt(magSq);
49 * 1. underflow of magSq (compared against nearlyzero^2)
50 * 2. overflow of magSq (compared w/ isfinite)
56 float magSq;
57 if (is_length_nearly_zero(fX, fY, fZ, &magSq)) {
64 if (sk_float_isfinite(magSq)) {
65 invScale = magSq;
67 // our magSq step overflowed to infinity, so use doubles instead.