Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
template/ | 12-May-2024 | - | 739 | 637 | ||
Makefile | D | 12-May-2024 | 536 | 29 | 18 | |
README | D | 12-May-2024 | 361 | 11 | 7 | |
functions.h | D | 12-May-2024 | 4.1 KiB | 215 | 204 | |
gen.c | D | 12-May-2024 | 6.9 KiB | 341 | 284 | |
gen.h | D | 12-May-2024 | 1 KiB | 65 | 54 | |
gensanity.sh | D | 12-May-2024 | 2.5 KiB | 62 | 56 | |
gentests.sh | D | 12-May-2024 | 476 | 26 | 20 | |
mp.c | D | 12-May-2024 | 24.1 KiB | 963 | 850 | |
mplibm.c | D | 12-May-2024 | 12.3 KiB | 454 | 415 | |
next.c | D | 12-May-2024 | 613 | 30 | 27 | |
prev.c | D | 12-May-2024 | 616 | 30 | 27 | |
rnd.c | D | 12-May-2024 | 4.8 KiB | 287 | 242 | |
toa.c | D | 12-May-2024 | 501 | 26 | 23 | |
toe.c | D | 12-May-2024 | 510 | 26 | 23 | |
tof.c | D | 12-May-2024 | 510 | 26 | 23 | |
tog.c | D | 12-May-2024 | 510 | 26 | 23 | |
tox.c | D | 12-May-2024 | 735 | 29 | 26 | |
util.c | D | 12-May-2024 | 2.7 KiB | 176 | 152 |
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