From: Szabolcs Nagy Date: Wed, 3 Jul 2013 20:08:26 +0000 (+0000) Subject: math: add readme about ulp check tool X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=commitdiff_plain;h=e248db1c46f61cf34548e739bc6ff106013b1ba2 math: add readme about ulp check tool --- diff --git a/src/math/gen/README b/src/math/gen/README new file mode 100644 index 0000000..b156b20 --- /dev/null +++ b/src/math/gen/README @@ -0,0 +1,8 @@ +tools for generating testcases and checking ulp error of math functions + +gen: math functions implemented with mpfr +mgen: math functions from libm +check: compare input to libm and report errors + +# check asinh in the [0.125,0.5] domain over 100k points and report >1.5ulp errors +./rnd -a 0x1p-3 -b 0x1p-1 -n 100000 |./gen asinh |./check asinh 1.5