Files
clang-p2996/libclc/generic/include/clc/math/half_log2.h
Jan Vesely a1aba44ffa half_log2: Implement using log2
Passes CTS on carrizo
v2: Use full precision implementation

Reviewer: Jeroen Ketema <j.ketema@xs4all.nl>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 322895
2018-01-18 21:11:56 +00:00

10 lines
193 B
C

#define __CLC_BODY <clc/math/unary_decl.inc>
#define __CLC_FUNCTION half_log2
#define __FLOAT_ONLY
#include <clc/math/gentype.inc>
#undef __FLOAT_ONLY
#undef __CLC_BODY
#undef __CLC_FUNCTION