File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4268,8 +4268,9 @@ inline void validate_expr(const ieee_float_notequal_exprt &value)
4268
4268
validate_operands (value, 2 , " IEEE inequality must have two operands" );
4269
4269
}
4270
4270
4271
-
4272
4271
// / \brief IEEE floating-point operations
4272
+ // / These have two data operands (op0 and op1) and one rounding mode (op2).
4273
+ // / The type of the result is that of the data operands.
4273
4274
class ieee_float_op_exprt :public exprt
4274
4275
{
4275
4276
public:
@@ -4283,8 +4284,8 @@ class ieee_float_op_exprt:public exprt
4283
4284
const exprt &_lhs,
4284
4285
const irep_idt &_id,
4285
4286
const exprt &_rhs,
4286
- const exprt &_rm):
4287
- exprt (_id)
4287
+ const exprt &_rm)
4288
+ : exprt(_id, _lhs.type() )
4288
4289
{
4289
4290
add_to_operands (_lhs, _rhs, _rm);
4290
4291
}
You can’t perform that action at this time.
0 commit comments