diff options
Diffstat (limited to 'libclc/generic/include')
-rw-r--r-- | libclc/generic/include/clc/clc.h | 1 | ||||
-rw-r--r-- | libclc/generic/include/clc/math/sinpi.h | 3 | ||||
-rw-r--r-- | libclc/generic/include/clc/math/sinpi.inc | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h index d4ef7a8bd58..46135af0e63 100644 --- a/libclc/generic/include/clc/clc.h +++ b/libclc/generic/include/clc/clc.h @@ -72,6 +72,7 @@ #include <clc/math/round.h> #include <clc/math/sin.h> #include <clc/math/sincos.h> +#include <clc/math/sinpi.h> #include <clc/math/sqrt.h> #include <clc/math/tan.h> #include <clc/math/trunc.h> diff --git a/libclc/generic/include/clc/math/sinpi.h b/libclc/generic/include/clc/math/sinpi.h new file mode 100644 index 00000000000..390897673a4 --- /dev/null +++ b/libclc/generic/include/clc/math/sinpi.h @@ -0,0 +1,3 @@ +#define __CLC_BODY <clc/math/sinpi.inc> +#include <clc/math/gentype.inc> +#undef __CLC_BODY diff --git a/libclc/generic/include/clc/math/sinpi.inc b/libclc/generic/include/clc/math/sinpi.inc new file mode 100644 index 00000000000..f0c872a287d --- /dev/null +++ b/libclc/generic/include/clc/math/sinpi.inc @@ -0,0 +1 @@ +_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE sinpi(__CLC_GENTYPE a); |