diff options
Diffstat (limited to 'libclc/generic/include/clc/math/native_divide.h')
| -rw-r--r-- | libclc/generic/include/clc/math/native_divide.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libclc/generic/include/clc/math/native_divide.h b/libclc/generic/include/clc/math/native_divide.h index 5c52167fd3e..1bc6cf58368 100644 --- a/libclc/generic/include/clc/math/native_divide.h +++ b/libclc/generic/include/clc/math/native_divide.h @@ -1 +1,7 @@ -#define native_divide(x, y) ((x) / (y)) +#define __CLC_BODY <clc/math/binary_decl_tt.inc> +#define __CLC_FUNCTION native_divide + +#include <clc/math/gentype.inc> + +#undef __CLC_BODY +#undef __CLC_FUNCTION |

