diff options
Diffstat (limited to 'libclc/generic/include/clc')
| -rw-r--r-- | libclc/generic/include/clc/clc.h | 1 | ||||
| -rw-r--r-- | libclc/generic/include/clc/math/native_log10.h | 5 | ||||
| -rw-r--r-- | libclc/generic/include/clc/math/native_log10.inc | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h index 3701336ad1a..5d64751e365 100644 --- a/libclc/generic/include/clc/clc.h +++ b/libclc/generic/include/clc/clc.h @@ -104,6 +104,7 @@ #include <clc/math/native_exp10.h> #include <clc/math/native_exp2.h> #include <clc/math/native_log.h> +#include <clc/math/native_log10.h> #include <clc/math/native_log2.h> #include <clc/math/native_powr.h> #include <clc/math/native_recip.h> diff --git a/libclc/generic/include/clc/math/native_log10.h b/libclc/generic/include/clc/math/native_log10.h new file mode 100644 index 00000000000..b877efdfac4 --- /dev/null +++ b/libclc/generic/include/clc/math/native_log10.h @@ -0,0 +1,5 @@ +#define __CLC_BODY <clc/math/native_log10.inc> +#define __FLOAT_ONLY +#include <clc/math/gentype.inc> +#undef __CLC_BODY +#undef __FLOAT_ONLY diff --git a/libclc/generic/include/clc/math/native_log10.inc b/libclc/generic/include/clc/math/native_log10.inc new file mode 100644 index 00000000000..ce5a9949714 --- /dev/null +++ b/libclc/generic/include/clc/math/native_log10.inc @@ -0,0 +1 @@ +_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE native_log10(__CLC_GENTYPE a); |

