9#ifndef CPROVER_UTIL_ALGEBRAIC_NUMBER_H
10#define CPROVER_UTIL_ALGEBRAIC_NUMBER_H
std::ostream & operator<<(std::ostream &out, const algebraic_numbert &a)
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Represents real numbers as roots (zeros) of a polynomial with rational coefficients.
constant_exprt as_expr() const
algebraic_numbert()
The default constructor builds a algebraic_numbert representing real number 0.
algebraic_numbert(const std::vector< rationalt > &coeff)
Represent a real number as roots of a polynomial with rational coefficients coeff.
coefficientst coefficients
algebraic_numbert(const rationalt &r)
Represent a rational number as algebraic_numbert.
std::vector< rationalt > coefficientst
const coefficientst & get_coefficients() const
A constant literal expression.
#define DATA_INVARIANT(CONDITION, REASON)
This condition should be used to document that assumptions that are made on goto_functions,...
API to expression classes.