diff options
| author | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2014-06-25 10:06:35 +0000 |
|---|---|---|
| committer | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2014-06-25 10:06:35 +0000 |
| commit | 42df5d2a8f2801b0f6b0e9a489fc5b32189364c3 (patch) | |
| tree | 31b66081d13fa06c253709852b473c409398756d /libclc/generic/include | |
| parent | 6d9b9e125dd69e639d30cd80ef1a64726da26927 (diff) | |
| download | bcm5719-llvm-42df5d2a8f2801b0f6b0e9a489fc5b32189364c3.tar.gz bcm5719-llvm-42df5d2a8f2801b0f6b0e9a489fc5b32189364c3.zip | |
Add exp10
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211680
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 |

