mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 20:33:38 +00:00
bugfix for hwf::fma
This commit is contained in:
parent
705ace6f0a
commit
759d9f2dda
1 changed files with 2 additions and 5 deletions
|
@ -315,11 +315,8 @@ void hwf_manager::fma(mpf_rounding_mode rm, hwf const & x, hwf const & y, hwf co
|
||||||
set_rounding_mode(rm);
|
set_rounding_mode(rm);
|
||||||
o.value = x.value * y.value + z.value;
|
o.value = x.value * y.value + z.value;
|
||||||
#else
|
#else
|
||||||
// NOT_IMPLEMENTED_YET();
|
set_rounding_mode(rm);
|
||||||
// Just a dummy for now:
|
o.value = ::fma(x.value, y.value, z.value);
|
||||||
hwf t;
|
|
||||||
mul(rm, x, y, t);
|
|
||||||
add(rm, t, z, o);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue