Searched refs:tol (Results 1 – 1 of 1) sorted by relevance
833 _UF diff, tol; in UnityAssertEqualFloatArray() local873 tol = UNITY_FLOAT_PRECISION * *ptr_expected; in UnityAssertEqualFloatArray()874 if (tol < 0.0f) in UnityAssertEqualFloatArray()876 tol = 0.0f - tol; in UnityAssertEqualFloatArray()885 if (/*(diff * 0.0f != 0.0f) || */ (diff > tol)) in UnityAssertEqualFloatArray()1051 _UD diff, tol; in UnityAssertEqualDoubleArray() local1071 tol = UNITY_DOUBLE_PRECISION * *ptr_expected; in UnityAssertEqualDoubleArray()1072 if (tol < 0.0) in UnityAssertEqualDoubleArray()1073 tol = 0.0 - tol; in UnityAssertEqualDoubleArray()1076 if ((diff * 0.0 != 0.0) || (diff > tol)) in UnityAssertEqualDoubleArray()