j
k
j a
j l
+ delta = x - y; + + /* Check for overflow and related conditions */ + if (((x ^ y) & (x ^ delta)) < 0 || delta == INT_MIN) + return FALSE; + + if (abs(delta) > ulps) return FALSE; return TRUE;
Would "return compare_uint(x, y, ulps);" work?
Back to the thread
Back to the list