# Tracking Issue: Missing GPU Math Functions in LLVM libm This is a tracking issue for math functions present in existing GPU math libraries that are not currently provided by the LLVM libm. ## C Standard Functions - [ ] `acos` - [ ] `acosh` - [ ] `asin` - [ ] `asinh` - [x] `atan` https://github.com/llvm/llvm-project/pull/132333 - [x] `atan2` - [ ] `atanh` - [ ] `erf` - [ ] `erfc` - [ ] `lgamma` - [ ] `scalb` - [ ] `sinh` - [ ] `tanh` - [ ] `tgamma` - [ ] `sinpi` - [ ] `pown` ## 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` - [ ] `minmag` - [ ] `maxmag`