[libc][math] Added atanhf function.
authorKirill Okhotnikov <okir@google.com>
Sun, 28 Aug 2022 18:03:19 +0000 (20:03 +0200)
committerKirill Okhotnikov <okir@google.com>
Tue, 30 Aug 2022 20:39:54 +0000 (22:39 +0200)
commit6c1fc7e43033cbab5b16eeb2dee651078d06009d
tree2af739bf1650eae4b268b6fed44ab0cb0096898a
parent89ed5b7c50cd37454cddd433a49e19194ae353ce
[libc][math] Added atanhf function.

Performance by core-math (core-math/glibc 2.31/current llvm-14):
10.845/43.174/13.467

The review is done on top of D132809.

Differential Revision: https://reviews.llvm.org/D132811
15 files changed:
libc/config/darwin/arm/entrypoints.txt
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/x86_64/entrypoints.txt
libc/config/windows/entrypoints.txt
libc/spec/stdc.td
libc/src/math/CMakeLists.txt
libc/src/math/atanhf.h [new file with mode: 0644]
libc/src/math/generic/CMakeLists.txt
libc/src/math/generic/atanhf.cpp [new file with mode: 0644]
libc/test/src/math/CMakeLists.txt
libc/test/src/math/atanhf_test.cpp [new file with mode: 0644]
libc/test/src/math/exhaustive/CMakeLists.txt
libc/test/src/math/exhaustive/atanhf_test.cpp [new file with mode: 0644]
libc/utils/MPFRWrapper/MPFRUtils.cpp
libc/utils/MPFRWrapper/MPFRUtils.h