I see code and doc for aXYZpi and for (a)tanpi(2)
but in the version we installed only sinpi and cospi seem available
grep pif /opt/rocm-5.7.0/llvm/lib/clang/17.0.0/include/clang_hip_math.h
float cospif(float x) { return ocml_cospi_f32(x); }
void sincospif(float x, float *sinptr, float *cosptr) {
float sinpif(float x) { return ocml_sinpi_f32(x); }
I see code and doc for aXYZpi and for (a)tanpi(2) but in the version we installed only sinpi and cospi seem available grep pif /opt/rocm-5.7.0/llvm/lib/clang/17.0.0/include/clang_hip_math.h float cospif(float x) { return ocml_cospi_f32(x); } void sincospif(float x, float *sinptr, float *cosptr) { float sinpif(float x) { return ocml_sinpi_f32(x); }