diff options
author | Kirill Okhotnikov <okir@google.com> | 2022-08-28 19:12:41 +0200 |
---|---|---|
committer | Kirill Okhotnikov <okir@google.com> | 2022-08-30 22:39:54 +0200 |
commit | 89ed5b7c50cd37454cddd433a49e19194ae353ce (patch) | |
tree | 68ef100815e7a9870228d39ba13c573bdbf51478 /clang/lib/Lex/ModuleMap.cpp | |
parent | 7a7c0697cd97655dfe017fb7515509f8e39c1270 (diff) | |
download | llvm-89ed5b7c50cd37454cddd433a49e19194ae353ce.zip llvm-89ed5b7c50cd37454cddd433a49e19194ae353ce.tar.gz llvm-89ed5b7c50cd37454cddd433a49e19194ae353ce.tar.bz2 |
[libc][math] Added auxiliary function log2_eval for asinhf/acoshf/atanhf.
1) `double log2_eval(double)` function added with better than float precision is added.
2) Some refactoring done to put all auxiliary functions and corresponding data
to one place to reuse the code.
3) Added tests for new functions.
4) Performance and precision tests of the function shows, that it more precise than exiting log2,
(no exceptional cases), but timing is ~5% higer that on current one.
Differential Revision: https://reviews.llvm.org/D132809
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions