22 if(operands.size()==2)
33 if(bv0.size()==bv1.size() && !bv0.empty() &&
38 if(rel==ID_ieee_float_equal)
40 else if(rel==ID_ieee_float_notequal)
Pre-defined bitvector types.
const floatbv_typet & to_floatbv_type(const typet &type)
Cast a typet to a floatbv_typet.
bvtypet get_bvtype(const typet &type)
A base class for relations, i.e., binary predicates whose two operands have the same type.
virtual const bvt & convert_bv(const exprt &expr, const std::optional< std::size_t > expected_width={})
Convert expression to vector of literalts, using an internal cache to speed up conversion if availabl...
virtual literalt convert_ieee_float_rel(const binary_relation_exprt &)
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Base class for all expressions.
std::vector< exprt > operandst
typet & type()
Return the type of the expression.
literalt relation(const bvt &src1, relt rel, const bvt &src2)
const irep_idt & id() const
virtual literalt convert_rest(const exprt &expr)
std::vector< literalt > bvt