• Home
Name Date Size #Lines LOC

..--

template/06-May-2025-739637

MakefileD06-May-2025536 2918

READMED06-May-2025361 117

functions.hD06-May-20254.1 KiB215204

gen.cD06-May-20256.9 KiB341284

gen.hD06-May-20251 KiB6554

gensanity.shD06-May-20252.5 KiB6256

gentests.shD06-May-2025476 2620

mp.cD06-May-202524.1 KiB963850

mplibm.cD06-May-202512.3 KiB454415

next.cD06-May-2025613 3027

prev.cD06-May-2025616 3027

rnd.cD06-May-20254.8 KiB287242

toa.cD06-May-2025501 2623

toe.cD06-May-2025510 2623

tof.cD06-May-2025510 2623

tog.cD06-May-2025510 2623

tox.cD06-May-2025735 2926

util.cD06-May-20252.7 KiB176152

README

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