3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 05:18:44 +00:00

bugfix for hwf::fma

This commit is contained in:
Christoph M. Wintersteiger 2015-05-22 11:39:28 +01:00
parent 705ace6f0a
commit 759d9f2dda

View file

@ -315,11 +315,8 @@ void hwf_manager::fma(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf co
set_rounding_mode(rm);
o.value = x.value * y.value + z.value;
#else
// NOT_IMPLEMENTED_YET();
// Just a dummy for now:
hwf t;
mul(rm, x, y, t);
add(rm, t, z, o);
set_rounding_mode(rm);
o.value = ::fma(x.value, y.value, z.value);
#endif
}