Merge commit '40ad05bab206c932a32171d45581080c914b06ec'

* commit '40ad05bab206c932a32171d45581080c914b06ec':
  checkasm: Cast unsigned to signed

Merged-by: Clément Bœsch <cboesch@gopro.com>
This commit is contained in:
Clément Bœsch 2017-03-15 12:32:15 +01:00
commit 8b13492c9e

View File

@ -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;