[libc-commits] [PATCH] D134002: [libc][math] Improve tanhf performance.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Sep 15 17:53:50 PDT 2022
lntue created this revision.
lntue added reviewers: michaelrj, sivachandra, orex, zimmermann6.
Herald added subscribers: ecnelises, tschuett.
Herald added projects: libc-project, All.
lntue requested review of this revision.
Optimize the core part of tanhf implementation that is to compute e^x
similar to https://reviews.llvm.org/D133870. Factor the constants and
polynomial approximation out so that it can be used for `exp10f`
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10169 bytes
Desc: not available
More information about the libc-commits