@@ -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>
@@ -658,7 +657,7 @@ bool constant_propagator_domaint::partial_evaluate(
658657 // if the current rounding mode is top we can
659658 // still get a non-top result by trying all rounding
660659 // modes and checking if the results are all the same
661- if (!known_values.is_constant (rounding_mode_identifier ()))
660+ if (!known_values.is_constant (config. rounding_mode_identifier ()))
662661 return partial_evaluate_with_all_rounding_modes (known_values, expr, ns);
663662
664663 return replace_constants_and_simplify (known_values, expr, ns);
@@ -688,7 +687,7 @@ bool constant_propagator_domaint::partial_evaluate_with_all_rounding_modes(
688687 {
689688 valuest tmp_values = known_values;
690689 tmp_values.set_to (
691- symbol_exprt (rounding_mode_identifier (), integer_typet ()),
690+ symbol_exprt (config. rounding_mode_identifier (), integer_typet ()),
692691 from_integer (rounding_modes[i], integer_typet ()));
693692 exprt result = expr;
694693 if (replace_constants_and_simplify (tmp_values, result, ns))
0 commit comments