mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-05 17:01:22 +00:00
5 lines
96 B
C
5 lines
96 B
C
#undef log
|
|
|
|
// log(x) = log2(x) * (1/log2(e))
|
|
#define log(val) (__clc_log2(val) * 0.693147181f)
|