summaryrefslogtreecommitdiff
path: root/src/util/rational.h.in
blob: b5934cc1080ce2d863cb6777741fc8ab1143e82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*********************                                                        */
/*! \file rational.h.in
 ** \verbatim
 ** Top contributors (to current version):
 **   Morgan Deters, Tim King
 ** This file is part of the CVC4 project.
 ** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
 ** in the top-level source directory) and their institutional affiliations.
 ** All rights reserved.  See the file COPYING in the top-level source
 ** directory for licensing information.\endverbatim
 **
 ** \brief A multi-precision rational constant
 **
 ** A multi-precision rational constant.
 **/

// these gestures are used to avoid a public header dependence on cvc4autoconfig.h

#if @CVC4_NEED_INT64_T_OVERLOADS@
#  define CVC4_NEED_INT64_T_OVERLOADS
#endif

#if /* use CLN */ @CVC4_USE_CLN_IMP@
#  define CVC4_CLN_IMP
#endif /* @CVC4_USE_CLN_IMP@ */
#if /* use GMP */ @CVC4_USE_GMP_IMP@
#  define CVC4_GMP_IMP
#endif /* @CVC4_USE_GMP_IMP@ */

#ifdef CVC4_CLN_IMP
#  include "util/rational_cln_imp.h"
#  if SWIG
     %include "util/rational_cln_imp.h"
#  endif /* SWIG */
#endif /* CVC4_CLN_IMP */

#ifdef CVC4_GMP_IMP
#  include "util/rational_gmp_imp.h"
#  if SWIG
     %include "util/rational_gmp_imp.h"
#  endif /* SWIG */
#endif /* CVC4_GMP_IMP */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback