1 #undef log
2 
3 // log(x) = log2(x) * (1/log2(e))
4 #define log(val) (__clc_log2(val) * 0.693147181f)
5