forked from OSchip/llvm-project
[libc][doc] Update implementation status of exp2f, sinhf, and coshf.
This commit is contained in:
parent
62fe67f9eb
commit
17df74214c
|
@ -125,7 +125,7 @@ atan2
|
|||
atanh
|
||||
cbrt
|
||||
cos |check| |check|
|
||||
cosh
|
||||
cosh |check|
|
||||
erf
|
||||
erfc
|
||||
exp |check|
|
||||
|
@ -141,7 +141,7 @@ log2 |check|
|
|||
pow
|
||||
sin |check| |check|
|
||||
sincos |check| |check|
|
||||
sinh
|
||||
sinh |check|
|
||||
sqrt |check| |check| |check|
|
||||
tan
|
||||
tanh
|
||||
|
@ -155,6 +155,7 @@ Accuracy of Higher Math Functions
|
|||
<Func> <Func_f> (float) <Func> (double) <Func_l> (long double)
|
||||
============== ================ =============== ======================
|
||||
cos |check| large
|
||||
cosh |check|
|
||||
exp |check|
|
||||
exp2 |check|
|
||||
expm1 |check|
|
||||
|
@ -166,6 +167,7 @@ log1p |check|
|
|||
log2 |check|
|
||||
sin |check| large
|
||||
sincos 0.776 ULPs large
|
||||
sinh |check|
|
||||
sqrt |check| |check| |check|
|
||||
============== ================ =============== ======================
|
||||
|
||||
|
@ -197,11 +199,15 @@ Performance
|
|||
| +-----------+-------------------+-----------+-------------------+ +------------+-------------------------+--------------+---------------+
|
||||
| | LLVM libc | Reference (glibc) | LLVM libc | Reference (glibc) | | CPU | OS | Compiler | Special flags |
|
||||
+==============+===========+===================+===========+===================+=====================================+============+=========================+==============+===============+
|
||||
| cosf | 14 | 32 | 56 | 59 | :math:`[0, 2\pi]` | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | |
|
||||
| cosf | 14 | 32 | 56 | 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 |
|
||||
+--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
| expf | 9 | 7 | 44 | 38 | :math:`[-10, 10]` | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA |
|
||||
+--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
| exp2f | 8 | 6 | 35 | 23 | :math:`[-10, 10]` | i5-1135G7 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA |
|
||||
+ +-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
| | 11 | 6 | 49 | 31 | :math:`[-10, 10]` | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA |
|
||||
+--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
| expm1f | 9 | 44 | 42 | 121 | :math:`[-10, 10]` | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA |
|
||||
+--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
|
@ -225,6 +231,8 @@ Performance
|
|||
+--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
| sinf | 13 | 25 | 54 | 57 | :math:`[-\pi, \pi]` | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA |
|
||||
+--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
| sinhf | 23 | 64 | 73 | 141 | :math:`[-10, 10]` | Ryzen 1700 | Ubuntu 20.04 LTS x86_64 | Clang 12.0.0 | FMA |
|
||||
+--------------+-----------+-------------------+-----------+-------------------+-------------------------------------+------------+-------------------------+--------------+---------------+
|
||||
|
||||
References
|
||||
==========
|
||||
|
|
Loading…
Reference in New Issue