<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/132450>132450</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc][math][AMDGPU] Implement GPU math functions
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jhuber6
</td>
</tr>
</table>
<pre>
This is a tracking issue for math functions present in the existing GPU math libraries not currently provided by the LLVM libm.
## C standard functions
```
acos
acosh
asin
asinh
atan
atan2
atanh
erf
erfc
lgamma
scalb
signbit
sinh
tanh
tgamma
```
## Complex functions
```
cabs
cacos
cacosh
casin
casinh
catan
catanh
ccos
ccosh
cexp
clog
cosh
csin
csinh
csqrt
ctan
ctanh
```
## POSIX functions
```
j0
j1
y0
y1
```
## OpenCL / GPU extensions
```
powi
pown
minmag
maxmag
sinpi
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0k09v4yAQxT8NvqBG_LFT--CD2yhVpVattNvVXgETmy4GL4O7ybdf4ZC2h1ay_CZk3uOHzAgAMzitW1TdoGpXiCWOPrSv4yJ12BbS96f252gAG8ACxyDUH-MGbAAWjQ8-4EnEER8Wp6LxDvAcNGgXsXE4jhrro4GYDHfPL-dWa2QQwWjAzkeslhC0i_aE5-DfTK97LE-r8-Hh12NqnjaIdOlhHDGObzFE4XoR-o9N079bkh_SCeUhy5gUjMuy_ozCZWFZ07IOh_NbIdLZQUyTQKQDJaxMagYnTVyrtT274qXx8_6fYP00W338llQJCaucidUFWWVmdYFWmVpdcFV2XAz6OCexfkiSF3PIJQP-hnQClaNy0tfkz08_7n9_y_26vigi3SlVJ_ptztOs3e0DRmy_3gB9jNrBF4mz_2fOktgm4yaRTjKJ47kA42bz2VP0Le8b3ohCt_S6ZFXNtowVY1vVuq7L64ZfH3pONKFEUi75lmlC6WFbF6ZlhFWEM0rrkpd0Q6lqet40dUW3DacSlURPwtiNtW_TxoehWG97SzkrK1JYIbWFdV4Ys0YqxFianNCm_iu5DIBKYg1E-EiIJtp1xlZDtUPVTZqGc9U97u6eX1C1w_fpvkxpft7n5f0bFEuw7RjjDIh3iO0R2w8mjovcKD8htk97Zbmag3_VKiK2X9EBsX2mf2vZ_wAAAP__GTQ1jQ">