projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/gen: yet another little decimal formatting tool
[libc-test]
/
src
/
math
/
gen
/
README
diff --git
a/src/math/gen/README
b/src/math/gen/README
index
b156b20
..
245e814
100644
(file)
--- a/
src/math/gen/README
+++ b/
src/math/gen/README
@@
-1,8
+1,10
@@
tools for generating testcases and checking ulp error of math functions
tools for generating testcases and checking ulp error of math functions
+(needs cleanup)
gen: math functions implemented with mpfr
mgen: math functions from libm
check: compare input to libm and report errors
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
+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
./rnd -a 0x1p-3 -b 0x1p-1 -n 100000 |./gen asinh |./check asinh 1.5