BWAPI
|
template class where operator is supposed to be Add or Sub More...
#include <ExprRep.h>
Public Member Functions | |
Constructors and Destructor | |
AddSubRep (ExprRep *f, ExprRep *s) | |
constructor | |
~AddSubRep () | |
destructor | |
Protected Member Functions | |
void | computeExactFlags () |
compute sign and MSB | |
void | computeApproxValue (const extLong &, const extLong &) |
compute approximation value | |
const std::string | op () const |
return operator in string |
constructor
void AddSubRep< Operator >::computeApproxValue | ( | const extLong & | relPrec, |
const extLong & | absPrec | ||
) | [protected, virtual] |
void AddSubRep< Operator >::computeExactFlags | ( | ) | [protected, virtual] |
compute sign and MSB
AddSubRep<Op>::computeExactFlags() This function is the heart of Expr class, and hence the heart of Core Library! Here is where we use the root bounds.
Implements ExprRep.
const std::string AddSubRep< Operator >::op | ( | ) | const [inline, protected, virtual] |
return operator in string
Reimplemented from ExprRep.