Commit 8b13492c authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '40ad05ba'

* commit '40ad05ba':
  checkasm: Cast unsigned to signed
Merged-by: 's avatarClément Bœsch <cboesch@gopro.com>
parents 89a03263 40ad05ba
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment