This website requires JavaScript.
Explore
Help
Sign In
OSchip
/
llvm-project
mirror of
https://github.com/THU-DSP-LAB/llvm-project.git
Watch
13
Star
0
Fork
You've already forked llvm-project
6
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bad901b362
llvm-project
/
libclc
/
generic
/
include
/
clc
/
math
/
log.h
5 lines
96 B
C
Raw
Blame
History
#
undef log
// log(x) = log2(x) * (1/log2(e))
#
define log(val) (__clc_log2(val) * 0.693147181f)
Reference in New Issue
View Git Blame
Copy Permalink