Class AbstractFloatingPointFormulaManager<TFormulaInfo,TType,TEnv,TFuncDecl>

java.lang.Object
org.sosy_lab.java_smt.basicimpl.AbstractFloatingPointFormulaManager<TFormulaInfo,TType,TEnv,TFuncDecl>
All Implemented Interfaces:
FloatingPointFormulaManager

public abstract class AbstractFloatingPointFormulaManager<TFormulaInfo,TType,TEnv,TFuncDecl> extends Object implements FloatingPointFormulaManager
Similar to the other Abstract*FormulaManager classes in this package, this class serves as a helper for implementing FloatingPointFormulaManager. It handles all the unwrapping and wrapping from and to the Formula instances, such that the concrete class needs to handle only its own internal types.

For multiply(FloatingPointFormula, FloatingPointFormula), and divide(FloatingPointFormula, FloatingPointFormula) this class even offers an implementation based on UFs. Sub-classes are supposed to override them if they can implement these operations more precisely (for example multiplication with constants should be supported by all solvers and implemented by all sub-classes).