From e248db1c46f61cf34548e739bc6ff106013b1ba2 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 3 Jul 2013 20:08:26 +0000 Subject: [PATCH 1/1] math: add readme about ulp check tool --- src/math/gen/README | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/math/gen/README 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 -- 2.20.1