Files
clang-p2996/libclc/generic/include/clc/math/native_powr.h
Jan Vesely 383fbd050c native_powr: Switch implementation to native_exp2 and native_log2
v2: don't use assume
    check only for x<0, the other conditions are handled transparently
v3: don't check inputs at all, nan propagation works as expected

Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 318204
2017-11-14 21:55:41 +00:00

8 lines
158 B
C

#define __CLC_BODY <clc/math/binary_decl_tt.inc>
#define __CLC_FUNCTION native_powr
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __CLC_FUNCTION