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
6 lines
112 B
Common Lisp
6 lines
112 B
Common Lisp
#include <clc/clc.h>
|
|
|
|
#define __CLC_BODY <native_powr.inc>
|
|
#define __FLOAT_ONLY
|
|
#include <clc/math/gentype.inc>
|