Pre-defined bitvector types.
const fixedbv_typet & to_fixedbv_type(const typet &type)
Cast a typet to a fixedbv_typet.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
void set_width(std::size_t width)
std::size_t get_width() const
A constant literal expression.
const irep_idt & get_value() const
typet & type()
Return the type of the expression.
std::size_t get_fraction_bits() const
Fixed-width bit-vector with signed fixed-point interpretation.
void set_integer_bits(std::size_t b)
std::size_t get_integer_bits() const
void from_integer(const mp_integer &i)
void from_expr(const constant_exprt &expr)
bool operator==(int i) const
fixedbvt & operator+=(const fixedbvt &other)
mp_integer to_integer() const
fixedbvt & operator*=(const fixedbvt &other)
void round(const fixedbv_spect &dest_spec)
std::string format(const format_spect &format_spec) const
fixedbvt & operator/=(const fixedbvt &other)
fixedbvt & operator-=(const fixedbvt &other)
constant_exprt to_expr() const
const std::string integer2string(const mp_integer &n, unsigned base)
#define PRECONDITION(CONDITION)
API to expression classes.