summaryrefslogtreecommitdiff
path: root/src/util/rational.h.in
blob: b05aefbd37d61a07a56c2afbfe35a1fd16c8219e (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-2021 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 @CVC5_NEED_INT64_T_OVERLOADS@
#  define CVC5_NEED_INT64_T_OVERLOADS
#endif

#if /* use CLN */ @CVC5_USE_CLN_IMP@
#  define CVC5_CLN_IMP
#endif /* @CVC5_USE_CLN_IMP@ */
#if /* use GMP */ @CVC5_USE_GMP_IMP@
#  define CVC5_GMP_IMP
#endif /* @CVC5_USE_GMP_IMP@ */

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

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