[libc-commits] [libc] 647b190 - [libc][doc] Update implementation status of atanf and atanhf.

Tue Ly via libc-commits libc-commits at lists.llvm.org
Tue Aug 30 22:27:57 PDT 2022


Author: Tue Ly
Date: 2022-08-31T01:27:23-04:00
New Revision: 647b190a5c0855cab075047c4920420f3cfd97c7

URL: https://github.com/llvm/llvm-project/commit/647b190a5c0855cab075047c4920420f3cfd97c7
DIFF: https://github.com/llvm/llvm-project/commit/647b190a5c0855cab075047c4920420f3cfd97c7.diff

LOG: [libc][doc] Update implementation status of atanf and atanhf.

Added: 
    

Modified: 
    libc/docs/math.rst

Removed: 
    


################################################################################
diff  --git a/libc/docs/math.rst b/libc/docs/math.rst
index 331ee7bffd01b..9356f023ed91b 100644
--- a/libc/docs/math.rst
+++ b/libc/docs/math.rst
@@ -120,9 +120,9 @@ acos
 acosh
 asin
 asinh
-atan
+atan           |check|
 atan2
-atanh
+atanh          |check|
 cbrt
 cos            |check|          |check|
 cosh           |check|
@@ -154,6 +154,8 @@ Accuracy of Higher Math Functions
 ============== ================ =============== ======================
 <Func>         <Func_f> (float) <Func> (double) <Func_l> (long double)
 ============== ================ =============== ======================
+atan           |check|
+atanh          |check|
 cos            |check|          large
 cosh           |check|
 exp            |check|
@@ -201,6 +203,10 @@ Performance
 |              +-----------+-------------------+-----------+-------------------+                                     +------------+-------------------------+--------------+---------------+
 |              | LLVM libc | Reference (glibc) | LLVM libc | Reference (glibc) |                                     | CPU        | OS                      | Compiler     | Special flags |
 +==============+===========+===================+===========+===================+=====================================+============+=========================+==============+===============+
+| atanf        |        27 |                29 |        79 |                68 | :math:`[-10, 10]`                   | Ryzen 1700 | Ubuntu 22.04 LTS x86_64 | Clang 14.0.0 | FMA           |
++--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
+| atanhf       |        20 |                66 |        71 |               133 | :math:`[-1, 1]`                     | Ryzen 1700 | Ubuntu 22.04 LTS x86_64 | Clang 14.0.0 | FMA           |
++--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
 | cosf         |        13 |                32 |        53 |                59 | :math:`[0, 2\pi]`                   | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA           |
 +--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
 | coshf        |        23 |                20 |        73 |                49 | :math:`[-10, 10]`                   | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA           |


        


More information about the libc-commits mailing list