@@ -150,11 +150,11 @@ exprt estimate_decimal_exponent(const exprt &f, const ieee_float_spect &spec)
150
150
// / Add axioms corresponding to the String.valueOf(F) java function
151
151
// / \param f: function application with one float argument
152
152
// / \return a new string expression
153
- string_exprt string_constraint_generatort::add_axioms_from_float (
153
+ string_exprt string_constraint_generatort::add_axioms_for_string_of_float (
154
154
const function_application_exprt &f)
155
155
{
156
- const refined_string_typet &ref_type= to_refined_string_type (f. type ());
157
- return add_axioms_from_float ( args (f, 1 )[0 ], ref_type );
156
+ return add_axioms_for_string_of_float (
157
+ args (f, 1 )[0 ], to_refined_string_type (f. type ()) );
158
158
}
159
159
160
160
// / Add axioms corresponding to the String.valueOf(D) java function
@@ -163,8 +163,8 @@ string_exprt string_constraint_generatort::add_axioms_from_float(
163
163
string_exprt string_constraint_generatort::add_axioms_from_double (
164
164
const function_application_exprt &f)
165
165
{
166
- const refined_string_typet &ref_type= to_refined_string_type (f. type ());
167
- return add_axioms_from_float ( args (f, 1 )[0 ], ref_type );
166
+ return add_axioms_for_string_of_float (
167
+ args (f, 1 )[0 ], to_refined_string_type (f. type ()) );
168
168
}
169
169
170
170
// / Add axioms corresponding to the integer part of m, in decimal form with no
@@ -176,7 +176,7 @@ string_exprt string_constraint_generatort::add_axioms_from_double(
176
176
// / \param f: expression representing a float
177
177
// / \param ref_type: refined type for strings
178
178
// / \return a new string expression
179
- string_exprt string_constraint_generatort::add_axioms_from_float (
179
+ string_exprt string_constraint_generatort::add_axioms_for_string_of_float (
180
180
const exprt &f, const refined_string_typet &ref_type)
181
181
{
182
182
const floatbv_typet &type=to_floatbv_type (f.type ());
0 commit comments