summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.h
diff options
context:
space:
mode:
authorMartin Brain <martin.brain@cs.ox.ac.uk>2014-12-03 21:29:43 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2014-12-03 21:58:28 -0500
commitcf6bc6c57dd579b8f75b7d20922eda0eaa92b2f7 (patch)
tree582afecddf7d64953d8562ab57dd915db6cc852f /src/expr/expr_manager_template.h
parent2121eaac7e63875f1e6ba53076535d25fd561c04 (diff)
Floating point infrastructure.
Signed-off-by: Morgan Deters <mdeters@cs.nyu.edu>
Diffstat (limited to 'src/expr/expr_manager_template.h')
-rw-r--r--src/expr/expr_manager_template.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/expr/expr_manager_template.h b/src/expr/expr_manager_template.h
index 2fabea0ff..8acb7489f 100644
--- a/src/expr/expr_manager_template.h
+++ b/src/expr/expr_manager_template.h
@@ -139,6 +139,9 @@ public:
/** Get the type for integers */
IntegerType integerType() const;
+ /** Get the type for rounding modes */
+ RoundingModeType roundingModeType() const;
+
/**
* Make a unary expression of a given kind (NOT, BVNOT, ...).
* @param kind the kind of expression
@@ -361,6 +364,9 @@ public:
*/
SExprType mkSExprType(const std::vector<Type>& types);
+ /** Make a type representing a floating-point type with the given parameters. */
+ FloatingPointType mkFloatingPointType(unsigned exp, unsigned sig) const;
+
/** Make a type representing a bit-vector of the given size. */
BitVectorType mkBitVectorType(unsigned size) const;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback