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
8 lines
158 B
C
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
|