31 Jul
2023
31 Jul
'23
5:49 p.m.
```diff + 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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3458#note_40853