xref: /llvm-project/libclc/generic/lib/math/half_recip.cl (revision 398108b91e0a7fa01d8216406bc6a0c6f1e2ff43)
1#include <clc/clc.h>
2
3#define recip(x) (1.0f/x)
4
5#define __CLC_FUNC recip
6#define __CLC_BODY <half_unary.inc>
7#define __FLOAT_ONLY
8#include <clc/math/gentype.inc>
9
10#undef recip
11