mirror of https://github.com/CGAL/cgal
add a switch for the gmp backend
This commit is contained in:
parent
64a64e1a8a
commit
4ede33059b
|
|
@ -32,7 +32,11 @@
|
|||
|
||||
namespace CORE {
|
||||
|
||||
#ifdef CGAL_CORE_USE_GMP_BACKEND
|
||||
typedef boost::multiprecision::mpz_int Z;
|
||||
#else
|
||||
typedef boost::multiprecision::cpp_int Z;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,11 @@
|
|||
|
||||
namespace CORE {
|
||||
|
||||
#ifdef CGAL_CORE_USE_GMP_BACKEND
|
||||
typedef boost::multiprecision::mpq_rational Q;
|
||||
#else
|
||||
typedef boost::multiprecision::cpp_rational Q;
|
||||
#endif
|
||||
|
||||
class BigRatRep : public RCRepImpl<BigRatRep> {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue