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

4 lines
119 B
PHP

_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE native_log(__CLC_GENTYPE val) {
return native_log2(val) * (1.0f / M_LOG2E_F);
}