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/half_tan.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h index 4431db62717..9e4b18591dc 100644 --- a/libclc/generic/include/clc/clc.h +++ b/libclc/generic/include/clc/clc.h @@ -81,6 +81,7 @@ #include <clc/math/half_rsqrt.h> #include <clc/math/half_sin.h> #include <clc/math/half_sqrt.h> +#include <clc/math/half_tan.h> #include <clc/math/hypot.h> #include <clc/math/ilogb.h> #include <clc/math/ldexp.h> diff --git a/libclc/generic/include/clc/math/half_tan.h b/libclc/generic/include/clc/math/half_tan.h new file mode 100644 index 00000000000..b78d86f36bf --- /dev/null +++ b/libclc/generic/include/clc/math/half_tan.h @@ -0,0 +1,9 @@ +#define __CLC_BODY <clc/math/unary_decl.inc> +#define __CLC_FUNCTION half_tan +#define __FLOAT_ONLY + +#include <clc/math/gentype.inc> + +#undef __FLOAT_ONLY +#undef __CLC_BODY +#undef __CLC_FUNCTION |