Jan Vesely | aad2868 | 2018-02-13 22:09:31 +0000 | [diff] [blame] | 1 | #include <utils.h> |
2 | |||||
3 | #define __CLC_HALF_FUNC(x) __CLC_CONCAT(half_, x) | ||||
4 | #define __CLC_NATIVE_FUNC(x) __CLC_CONCAT(native_, x) | ||||
5 | |||||
6 | _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __CLC_HALF_FUNC(__CLC_FUNC)(__CLC_GENTYPE val) { | ||||
7 | return __CLC_NATIVE_FUNC(__CLC_FUNC)(val); | ||||
8 | } | ||||
9 | |||||
10 | #undef __CLC_NATIVE_FUNC | ||||
11 | #undef __CLC_HALF_FUNC |