@@ -11,6 +11,8 @@ Author: Peter Schrammel
1111
1212#include " constant_propagator.h"
1313
14+ #include < goto-programs/adjust_float_expressions.h>
15+
1416#ifdef DEBUG
1517#include < iostream>
1618#include < util/format_expr.h>
@@ -655,7 +657,7 @@ bool constant_propagator_domaint::partial_evaluate(
655657 // if the current rounding mode is top we can
656658 // still get a non-top result by trying all rounding
657659 // modes and checking if the results are all the same
658- if (!known_values.is_constant (ID_cprover_rounding_mode_str ))
660+ if (!known_values.is_constant (rounding_mode_identifier () ))
659661 return partial_evaluate_with_all_rounding_modes (known_values, expr, ns);
660662
661663 return replace_constants_and_simplify (known_values, expr, ns);
@@ -685,7 +687,7 @@ bool constant_propagator_domaint::partial_evaluate_with_all_rounding_modes(
685687 {
686688 valuest tmp_values = known_values;
687689 tmp_values.set_to (
688- symbol_exprt (ID_cprover_rounding_mode_str , integer_typet ()),
690+ symbol_exprt (rounding_mode_identifier () , integer_typet ()),
689691 from_integer (rounding_modes[i], integer_typet ()));
690692 exprt result = expr;
691693 if (replace_constants_and_simplify (tmp_values, result, ns))
0 commit comments