diff options
Diffstat (limited to 'generic/lib/integer/abs_diff.inc')
-rw-r--r-- | generic/lib/integer/abs_diff.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/lib/integer/abs_diff.inc b/generic/lib/integer/abs_diff.inc index 93efdba..6ad57ee 100644 --- a/generic/lib/integer/abs_diff.inc +++ b/generic/lib/integer/abs_diff.inc @@ -1,3 +1,3 @@ -_CLC_OVERLOAD _CLC_DEF UGENTYPE abs_diff(GENTYPE x) { +_CLC_OVERLOAD _CLC_DEF UGENTYPE abs_diff(GENTYPE x, GENTYPE y) { return __builtin_astype((GENTYPE)(x > y ? x-y : y-x), UGENTYPE); } |