8a054e03ad940f37700570cc20e5731d3b150683
1 /********************* */
2 /*! \file fp_converter.h
4 ** Top contributors (to current version):
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2017 by the authors listed in the file AUTHORS
8 ** in the top-level source directory) and their institutional affiliations.
9 ** All rights reserved. See the file COPYING in the top-level source
10 ** directory for licensing information.\endverbatim
12 ** \brief Converts floating-point nodes to bit-vector expressions.
14 ** Uses the symfpu library to convert from floating-point operations to
15 ** bit-vectors and propositions allowing the theory to be solved by
19 #include "cvc4_private.h"
21 #ifndef __CVC4__THEORY__FP__FP_CONVERTER_H
22 #define __CVC4__THEORY__FP__FP_CONVERTER_H
24 #include "context/cdhashmap.h"
25 #include "context/cdlist.h"
26 #include "theory/valuation.h"
27 #include "util/floatingpoint.h"
28 #include "util/hash.h"
34 typedef PairHashFunction
<TypeNode
, TypeNode
, TypeNodeHashFunction
,
36 PairTypeNodeHashFunction
;
40 context::CDList
<Node
> d_additionalAssertions
;
42 FpConverter(context::UserContext
*);
44 /** Adds a node to the conversion, returns the converted node */
47 /** Gives the node representing the value of a given variable */
48 Node
getValue(Valuation
&, TNode
);
55 #endif /* __CVC4__THEORY__FP__THEORY_FP_H */