summaryrefslogtreecommitdiff
path: root/src/cvc4.i
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2019-06-21 22:29:01 -0700
committerGitHub <noreply@github.com>2019-06-21 22:29:01 -0700
commit252a8fb4323fed6eb621a4f88a06abfc39307b76 (patch)
tree1858636286f1c657c2fd03ec4c788db8602d1489 /src/cvc4.i
parentbe33ac9656bf7feafa3715d6623749f6afd962b5 (diff)
Add floating-point support in the Java API (#3063)
This commit adds support for the theory of floating-point numbers in the Java API. Previously, floating-point related classes were missing in the JAR. The commit also provides an example that showcases how to work with the theory of floating-point numbers through the API.
Diffstat (limited to 'src/cvc4.i')
-rw-r--r--src/cvc4.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cvc4.i b/src/cvc4.i
index c0112c9b0..166514bc9 100644
--- a/src/cvc4.i
+++ b/src/cvc4.i
@@ -56,6 +56,7 @@ using namespace CVC4;
#include "options/option_exception.h"
#include "smt/command.h"
#include "util/bitvector.h"
+#include "util/floatingpoint.h"
#include "util/integer.h"
#include "util/sexpr.h"
#include "util/unsafe_interrupt_exception.h"
@@ -313,6 +314,7 @@ std::set<JavaInputStreamAdapter*> CVC4::JavaInputStreamAdapter::s_adapters;
%include "util/integer.i"
%include "util/rational.i"
%include "util/bitvector.i"
+%include "util/floatingpoint.i"
// Tim: The remainder of util/.
%include "util/bool.i"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback