Home
last modified time | relevance | path

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

/reactos/modules/rostests/winetests/d3dx9_36/
H A Dline.c24 #define relative_error(exp, out) ((exp == 0.0f) ? fabs(exp - out) : (fabs(1.0f - out/ exp) )) macro
34 if (relative_error(U(*m1).m[i][j], U(*m2).m[i][j]) > admitted_error) in compare_matrix()
H A Dtexture.c132 static inline float relative_error(float expected, float got) in relative_error() function
140 ok_(__FILE__, line)(relative_error(expected->x, got->x) < ADMITTED_ERROR in expect_vec4_()
141 && relative_error(expected->y, got->y) < ADMITTED_ERROR in expect_vec4_()
142 && relative_error(expected->z, got->z) < ADMITTED_ERROR in expect_vec4_()
143 && relative_error(expected->w, got->w) < ADMITTED_ERROR, in expect_vec4_()