Lines Matching refs:abs
1567 // Reciprocal piecewise gamma response, encoded as sign(x).f(abs(x)) for color
1574 // Piecewise gamma response, encoded as sign(x).f(abs(x)) for color spaces that
1594 Math.abs(a.a - b.a) < 1e-3 &&
1595 Math.abs(a.b - b.b) < 1e-3 &&
1596 Math.abs(a.c - b.c) < 1e-3 &&
1597 Math.abs(a.d - b.d) < 2e-3 && // Special case for variations in sRGB OETF/EOTF
1598 Math.abs(a.e - b.e) < 1e-3 &&
1599 Math.abs(a.f - b.f) < 1e-3 &&
1600 Math.abs(a.g - b.g) < 1e-3;
1613 if (Float.compare(a[i], b[i]) != 0 && Math.abs(a[i] - b[i]) > 1e-3f) return false;