1#ifndef CPROVER_FIXEDBV_UTIL_H
2#define CPROVER_FIXEDBV_UTIL_H
68 return v.is_negative();
73 return v.is_negative();
Definition std_expr.h:1082
unsigned integer_bits
Definition fixedbv.h:13
type2tc get_type() const
Definition fixedbv.cpp:17
unsigned get_fraction_bits() const
Definition fixedbv.h:28
fixedbv_spect(unsigned _width, unsigned _integer_bits)
Definition fixedbv.h:19
fixedbv_spect()
Definition fixedbv.h:15
unsigned width
Definition fixedbv.h:13
Fixed bitvector type.
Definition irep2_type.h:595
Definition std_types.h:600
fixedbv_spect spec
Definition fixedbv.h:40
friend bool operator==(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:126
fixedbvt()
Definition fixedbv.cpp:22
friend bool operator>(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:118
void from_expr(const constant_exprt &expr)
Definition fixedbv.cpp:35
bool is_finite() const
Definition fixedbv.h:89
void negate()
Definition fixedbv.cpp:116
friend bool operator<(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:110
void set_value(const BigInt &_v)
Definition fixedbv.h:144
bool operator==(int i) const
Definition fixedbv.cpp:156
bool is_NaN() const
Definition fixedbv.h:77
friend bool operator>=(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:122
fixedbvt & operator+=(const fixedbvt &other)
Definition fixedbv.cpp:203
fixedbvt & operator*=(const fixedbvt &other)
Definition fixedbv.cpp:121
friend bool operator<=(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:114
void round(const fixedbv_spect &dest_spec)
Definition fixedbv.cpp:63
friend bool operator!=(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:130
std::string format(const format_spect &format_spec) const
Definition fixedbv.cpp:161
void from_integer(const BigInt &i)
Definition fixedbv.cpp:41
bool get_sign() const
Definition fixedbv.h:71
fixedbvt & operator-()
Definition fixedbv.cpp:223
BigInt v
Definition fixedbv.h:151
std::string to_ansi_c_string() const
Definition fixedbv.h:53
fixedbvt & operator/=(const fixedbvt &other)
Definition fixedbv.cpp:135
BigInt to_integer() const
Definition fixedbv.cpp:46
bool is_negative() const
Definition fixedbv.h:66
bool is_normal() const
Definition fixedbv.h:95
fixedbvt & operator-=(const fixedbvt &other)
Definition fixedbv.cpp:213
bool is_zero() const
Definition fixedbv.h:61
const BigInt & get_value() const
Definition fixedbv.h:140
fixedbvt & operator%=(const fixedbvt &other)
Definition fixedbv.cpp:143
bool is_infinity() const
Definition fixedbv.h:83
constant_exprt to_expr() const
Definition fixedbv.cpp:52
@ other
Definition converter_compare.cpp:887
bool operator==(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:126
bool operator>(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:118
bool operator<(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:110
bool operator>=(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:122
bool operator<=(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:114
bool operator!=(const fixedbvt &a, const fixedbvt &b)
Definition fixedbv.h:130
irep_container< type2t > type2tc
Definition irep2.h:430