Skip to content

Commit

Permalink
Merge pull request #560 from smackers/fix-fdiml
Browse files Browse the repository at this point in the history
Fix the implementation of the `fdiml` function
  • Loading branch information
zvonimir authored Apr 10, 2020
2 parents 32f5f91 + 05f0deb commit d05932b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/smack/lib/math.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ long double fdiml(long double x, long double y) {
if (__isnanl(x) || __isnanl(y)) {
return nanl(0);
}
double val = __VERIFIER_nondet_long_double();
long double val = __VERIFIER_nondet_long_double();
__SMACK_code("@ := $fsub.bvlongdouble($rmode, @, @);", val, x, y);
return fmaxl(0.0l, val);
}
Expand Down

0 comments on commit d05932b

Please sign in to comment.