29 bool is_negative =
false;
33 value = value.substr(1);
36 for(
const char ch : value)
45 else if(
ch==
'/' ||
ch==
'.')
72 no2.back() !=
'0',
"decimal suffix should not have trailing zeros");
92 if(
a.get_denominator()!=1)
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
A constant literal expression.
Base class for all expressions.
bool is_constant() const
Return whether the expression is a constant.
const std::string & get_string(const irep_idt &name) const
Unbounded, signed rational numbers.
const mp_integer string2integer(const std::string &n, unsigned base)
const std::string integer2string(const mp_integer &n, unsigned base)
#define DATA_INVARIANT(CONDITION, REASON)
This condition should be used to document that assumptions that are made on goto_functions,...
#define PRECONDITION(CONDITION)