llvm-project/libclc/amdgpu/lib/math/native_log10.inc

4 lines
123 B
PHP

_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE native_log10(__CLC_GENTYPE val) {
return native_log2(val) * (M_LN2_F / M_LN10_F);
}