21 expr.
type().
id() == ID_complex,
22 "complex expression shall have complex type");
28 std::size_t op_width = width / operands.size();
64 bv.erase(bv.begin(), bv.begin()+width);
boolbv_widtht boolbv_width
#define forall_expr(it, expr)
typet & type()
Return the type of the expression.
virtual const bvt & convert_bv(const exprt &expr, const optionalt< std::size_t > expected_width=nullopt)
#define forall_literals(it, bv)
Imaginary part of the expression describing a complex number.
const irep_idt & id() const
Real part of the expression describing a complex number.
virtual bvt convert_complex_real(const complex_real_exprt &expr)
virtual bvt convert_complex(const complex_exprt &expr)
void conversion_failed(const exprt &expr, bvt &bv)
std::vector< exprt > operandst
virtual bvt convert_complex_imag(const complex_imag_exprt &expr)
#define DATA_INVARIANT(CONDITION, REASON)
This condition should be used to document that assumptions that are made on goto_functions,...
std::vector< literalt > bvt
Complex constructor from a pair of numbers.