• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1tools for generating testcases and checking ulp error of math functions
2(needs cleanup)
3
4gen: math functions implemented with mpfr
5mgen: math functions from libm
6check: compare input to libm and report errors
7
8check asinh in the [0.125,0.5] domain over 100k points and report >1.5ulp errors:
9
10./rnd -a 0x1p-3 -b 0x1p-1 -n 100000 |./gen asinh |./check asinh 1.5
11