Lines Matching refs:nearly_equal
72 static bool nearly_equal(float a, float b) { in nearly_equal() function
76 static bool nearly_equal(const skcms_TransferFunction& x, const skcms_TransferFunction& y) { in nearly_equal() function
77 return nearly_equal(x.g, y.g) in nearly_equal()
78 && nearly_equal(x.a, y.a) in nearly_equal()
79 && nearly_equal(x.b, y.b) in nearly_equal()
80 && nearly_equal(x.c, y.c) in nearly_equal()
81 && nearly_equal(x.d, y.d) in nearly_equal()
82 && nearly_equal(x.e, y.e) in nearly_equal()
83 && nearly_equal(x.f, y.f); in nearly_equal()
86 static bool nearly_equal(const skcms_Matrix3x3& a, const skcms_Matrix3x3& b) { in nearly_equal() function
89 if (!nearly_equal(a.vals[i][j], b.vals[i][j])) return false; in nearly_equal()
102 if (nearly_equal(gamut, entry.gamut) && nearly_equal(fn, entry.transferFunction)) { in toDataSpace()