[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / libclc / generic / lib / integer / abs_diff.inc
blob2d3c492cae0e68a1e5001a8cac70f88edc393075
1 _CLC_OVERLOAD _CLC_DEF __CLC_U_GENTYPE abs_diff(__CLC_GENTYPE x, __CLC_GENTYPE y) {
2   __CLC_U_GENTYPE ux = __builtin_astype(x, __CLC_U_GENTYPE);
3   __CLC_U_GENTYPE uy = __builtin_astype(y, __CLC_U_GENTYPE);
4   return x > y ? ux - uy : uy - ux;