@@ -11,15 +11,14 @@ Author: Peter Schrammel
1111
1212#include " constant_propagator.h"
1313
14- #include < goto-programs/adjust_float_expressions.h>
15-
1614#ifdef DEBUG
1715#include < iostream>
1816#include < util/format_expr.h>
1917#endif
2018
2119#include < util/arith_tools.h>
2220#include < util/c_types.h>
21+ #include < util/config.h>
2322#include < util/cprover_prefix.h>
2423#include < util/expr_util.h>
2524#include < util/ieee_float.h>
@@ -657,7 +656,7 @@ bool constant_propagator_domaint::partial_evaluate(
657656 // if the current rounding mode is top we can
658657 // still get a non-top result by trying all rounding
659658 // modes and checking if the results are all the same
660- if (!known_values.is_constant (rounding_mode_identifier ()))
659+ if (!known_values.is_constant (config. rounding_mode_identifier ()))
661660 return partial_evaluate_with_all_rounding_modes (known_values, expr, ns);
662661
663662 return replace_constants_and_simplify (known_values, expr, ns);
@@ -687,7 +686,7 @@ bool constant_propagator_domaint::partial_evaluate_with_all_rounding_modes(
687686 {
688687 valuest tmp_values = known_values;
689688 tmp_values.set_to (
690- symbol_exprt (rounding_mode_identifier (), integer_typet ()),
689+ symbol_exprt (config. rounding_mode_identifier (), integer_typet ()),
691690 from_integer (rounding_modes[i], integer_typet ()));
692691 exprt result = expr;
693692 if (replace_constants_and_simplify (tmp_values, result, ns))
0 commit comments