summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/math/native_exp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/generic/include/clc/math/native_exp.h')
-rw-r--r--libclc/generic/include/clc/math/native_exp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libclc/generic/include/clc/math/native_exp.h b/libclc/generic/include/clc/math/native_exp.h
index e206de66926..19f80065ea0 100644
--- a/libclc/generic/include/clc/math/native_exp.h
+++ b/libclc/generic/include/clc/math/native_exp.h
@@ -1 +1,9 @@
-#define native_exp exp
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#define __CLC_FUNCTION native_exp
+#define __FLOAT_ONLY
+
+#include <clc/math/gentype.inc>
+
+#undef __FLOAT_ONLY
+#undef __CLC_BODY
+#undef __CLC_FUNCTION
OpenPOWER on IntegriCloud