diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/checkasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index f6719809e3..ecfa5d2109 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -217,7 +217,7 @@ int float_near_ulp(float a, float b, unsigned max_ulp) return a == b; } - if (abs(x.i - y.i) <= max_ulp) + if (llabs((int64_t)x.i - y.i) <= max_ulp) return 1; return 0; |