math: add readme about ulp check tool
authorSzabolcs Nagy <nsz@port70.net>
Wed, 3 Jul 2013 20:08:26 +0000 (20:08 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 3 Jul 2013 20:08:26 +0000 (20:08 +0000)
src/math/gen/README [new file with mode: 0644]

diff --git a/src/math/gen/README b/src/math/gen/README
new file mode 100644 (file)
index 0000000..b156b20
--- /dev/null
@@ -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