Home
last modified time | relevance | path

Searched refs:maxerr (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dtarith.c772 double maxerr; in validation_gamma() local
790 maxerr = 0; in validation_gamma()
796 if (i != 0 && fabs(error) > maxerr) in validation_gamma()
797 maxerr = fabs(error); in validation_gamma()
808 printf("maximum 8-bit log error = %f\n", maxerr); in validation_gamma()
810 maxerr = 0; in validation_gamma()
816 if (i != 0 && fabs(error) > maxerr) in validation_gamma()
817 maxerr = fabs(error); in validation_gamma()
831 printf("maximum 16-bit log error = %f\n", maxerr); in validation_gamma()
834 maxerr = 0; in validation_gamma()
[all …]
Dpngstest.c2422 int maxerr; in cmppixel() local
2505 maxerr = err_r; in cmppixel()
2506 if (maxerr < err_g) maxerr = err_g; in cmppixel()
2507 if (maxerr < err_b) maxerr = err_b; in cmppixel()
2509 if (maxerr <= transform->error[limit]) in cmppixel()
2517 transform->error[limit] = (png_uint_16)maxerr; in cmppixel()
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dtarith.c772 double maxerr; in validation_gamma() local
790 maxerr = 0; in validation_gamma()
796 if (i != 0 && fabs(error) > maxerr) in validation_gamma()
797 maxerr = fabs(error); in validation_gamma()
808 printf("maximum 8-bit log error = %f\n", maxerr); in validation_gamma()
810 maxerr = 0; in validation_gamma()
816 if (i != 0 && fabs(error) > maxerr) in validation_gamma()
817 maxerr = fabs(error); in validation_gamma()
831 printf("maximum 16-bit log error = %f\n", maxerr); in validation_gamma()
834 maxerr = 0; in validation_gamma()
[all …]
Dpngstest.c2422 int maxerr; in cmppixel() local
2505 maxerr = err_r; in cmppixel()
2506 if (maxerr < err_g) maxerr = err_g; in cmppixel()
2507 if (maxerr < err_b) maxerr = err_b; in cmppixel()
2509 if (maxerr <= transform->error[limit]) in cmppixel()
2517 transform->error[limit] = (png_uint_16)maxerr; in cmppixel()
/third_party/musl/libc-test/src/math/gen/
Dgen.c61 float maxerr = 0; in main() local
108 if (abserr > maxerr) { in main()
109 maxerr = abserr; in main()
118 if (checkmode && maxerr) { in main()
119 printf("// maxerr: %f, ", maxerr); in main()
/third_party/optimized-routines/math/test/
Dulp.h247 double maxerr = 0; in T() local
307 if (abserr > maxerr) in T()
309 maxerr = abserr; in T()
345 (unsigned long long) cntfail, maxerr); in T()
356 maxerr, conf->r == FE_TONEAREST ? "+0.5" : "+1.0", in T()