|author||Szabolcs Nagy <firstname.lastname@example.org>||2012-12-16 19:23:51 +0100|
|committer||Szabolcs Nagy <email@example.com>||2012-12-16 19:23:51 +0100|
math: finished cosh.c cleanup
changed the algorithm: large input is not special cased (when exp(-x) is small compared to exp(x)) and the threshold values are reevaluated (fdlibm code had a log(2)/2 cutoff for which i could not find justification, log(2) seems to be a better threshold and this was verified empirically) the new code is simpler, makes smaller binaries and should be faster for common cases the old comments were removed as they are no longer true for the new algorithm and the fdlibm copyright was dropped as well because there is no common code or idea with the original anymore except for trivial ones.
Diffstat (limited to 'src/math/sinhl.c')
0 files changed, 0 insertions, 0 deletions