これはばかげた質問かもしれませんが、それでも私はそれを理解することができません...
abs および abs_diff の構文は
ugentype abs (gentype x) ugentype abs_diff (gentype x,gentype y) です。
x=-4 と y=3 を考えてみましょう
is there any difference between abs(-4-3) and abs_diff(-4,3) the result
両方の操作は同じです... abs_diff を abs として書き換えることができれば、khronos が 2 つの abs 関数を与えた理由
ありがとうございました