@@ -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>
@@ -663,7 +662,7 @@ bool constant_propagator_domaint::partial_evaluate(
663662 // if the current rounding mode is top we can
664663 // still get a non-top result by trying all rounding
665664 // modes and checking if the results are all the same
666- if (!known_values.is_constant (rounding_mode_identifier (), ns))
665+ if (!known_values.is_constant (config. rounding_mode_identifier (), ns))
667666 return partial_evaluate_with_all_rounding_modes (known_values, expr, ns);
668667
669668 return replace_constants_and_simplify (known_values, expr, ns);
@@ -693,7 +692,7 @@ bool constant_propagator_domaint::partial_evaluate_with_all_rounding_modes(
693692 {
694693 valuest tmp_values = known_values;
695694 tmp_values.set_to (
696- symbol_exprt (rounding_mode_identifier (), integer_typet ()),
695+ symbol_exprt (config. rounding_mode_identifier (), integer_typet ()),
697696 from_integer (rounding_modes[i], integer_typet ()));
698697 exprt result = expr;
699698 if (replace_constants_and_simplify (tmp_values, result, ns))
0 commit comments