/usr/include/clc/math/log.h is in libclc-dev 0~git20140101-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | #undef log
// log(x) = log2(x) * (1/log2(e))
#define log(val) (__clc_log2(val) * 0.693147181f)
|