diff options
Diffstat (limited to 'libclc/generic/include')
| -rw-r--r-- | libclc/generic/include/clc/clc.h | 2 | ||||
| -rw-r--r-- | libclc/generic/include/clc/math/exp10.h | 9 | ||||
| -rw-r--r-- | libclc/generic/include/clc/math/native_exp10.h | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h index e93a8c0ada4..e4fbfbaaa53 100644 --- a/libclc/generic/include/clc/clc.h +++ b/libclc/generic/include/clc/clc.h @@ -35,6 +35,7 @@ #include <clc/math/cos.h> #include <clc/math/ceil.h> #include <clc/math/exp.h> +#include <clc/math/exp10.h> #include <clc/math/exp2.h> #include <clc/math/fabs.h> #include <clc/math/floor.h> @@ -58,6 +59,7 @@ #include <clc/math/native_cos.h> #include <clc/math/native_divide.h> #include <clc/math/native_exp.h> +#include <clc/math/native_exp10.h> #include <clc/math/native_exp2.h> #include <clc/math/native_log.h> #include <clc/math/native_log2.h> diff --git a/libclc/generic/include/clc/math/exp10.h b/libclc/generic/include/clc/math/exp10.h new file mode 100644 index 00000000000..a1d426a20ab --- /dev/null +++ b/libclc/generic/include/clc/math/exp10.h @@ -0,0 +1,9 @@ +#undef exp10 + +#define __CLC_BODY <clc/math/unary_decl.inc> +#define __CLC_FUNCTION exp10 + +#include <clc/math/gentype.inc> + +#undef __CLC_BODY +#undef __CLC_FUNCTION diff --git a/libclc/generic/include/clc/math/native_exp10.h b/libclc/generic/include/clc/math/native_exp10.h new file mode 100644 index 00000000000..1156f58c53a --- /dev/null +++ b/libclc/generic/include/clc/math/native_exp10.h @@ -0,0 +1 @@ +#define native_exp10 exp10 |

