Index: display/bezier-utils-test.cpp =================================================================== RCS file: /cvsroot/inkscape/inkscape/src/display/bezier-utils-test.cpp,v retrieving revision 1.9 diff -d -u -p -r1.9 bezier-utils-test.cpp --- display/bezier-utils-test.cpp 20 Nov 2004 11:21:40 -0000 1.9 +++ display/bezier-utils-test.cpp 5 Feb 2005 12:51:40 -0000 @@ -205,7 +205,7 @@ int main(int argc, char *argv[]) { g_assert( G_N_ELEMENTS(u) == G_N_ELEMENTS(d) ); unsigned max_ix = ~0u; double const err_ratio = compute_max_error_ratio(d, u, G_N_ELEMENTS(d), c, 1.0, &max_ix); - UTEST_ASSERT( sqrt(err_tst[4].err) == err_ratio ); + UTEST_ASSERT( fabs( sqrt(err_tst[4].err) - err_ratio ) < 1e-12 ); UTEST_ASSERT( max_ix == 4 ); }