Go to the documentation of this file.
29 if(expr.
id()!=ID_constant)
32 const std::string &value=expr.
get_string(ID_value);
37 for(
const char ch : value)
46 else if(ch==
'/' || ch==
'.')
Unbounded, signed rational numbers.
const mp_integer string2integer(const std::string &n, unsigned base)
Base class for all expressions.
const mp_integer & get_numerator() const
const std::string & get_string(const irep_idt &name) const
const irep_idt & id() const
const mp_integer & get_denominator() const
A constant literal expression.
const std::string integer2string(const mp_integer &n, unsigned base)