mirror of https://github.com/CGAL/cgal
Merge pull request #1452 from mglisse/Number_types-Eigen_Literal-glisse
Number_types Eigen::NumTraits::Literal
This commit is contained in:
commit
3176b373ab
|
|
@ -531,6 +531,7 @@ namespace Eigen {
|
|||
typedef CORE::BigFloat Real;
|
||||
typedef CORE::BigFloat NonInteger;
|
||||
typedef CORE::BigFloat Nested;
|
||||
typedef CORE::BigFloat Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -207,6 +207,7 @@ namespace Eigen {
|
|||
typedef CORE::BigInt Real;
|
||||
typedef CORE::BigRat NonInteger;
|
||||
typedef CORE::BigInt Nested;
|
||||
typedef CORE::BigInt Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -241,6 +241,7 @@ namespace Eigen {
|
|||
typedef CORE::BigRat Real;
|
||||
typedef CORE::BigRat NonInteger;
|
||||
typedef CORE::BigRat Nested;
|
||||
typedef CORE::BigRat Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -196,6 +196,7 @@ namespace Eigen {
|
|||
typedef CORE::Expr Real;
|
||||
typedef CORE::Expr NonInteger;
|
||||
typedef CORE::Expr Nested;
|
||||
typedef CORE::Expr Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -342,6 +342,7 @@ namespace Eigen {
|
|||
typedef CGAL::Gmpfi Real;
|
||||
typedef CGAL::Gmpfi NonInteger;
|
||||
typedef CGAL::Gmpfi Nested;
|
||||
typedef CGAL::Gmpfi Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -162,6 +162,7 @@ namespace Eigen {
|
|||
typedef CGAL::Gmpfr Real;
|
||||
typedef CGAL::Gmpfr NonInteger;
|
||||
typedef CGAL::Gmpfr Nested;
|
||||
typedef CGAL::Gmpfr Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -141,6 +141,7 @@ namespace Eigen {
|
|||
typedef CGAL::Gmpq Real;
|
||||
typedef CGAL::Gmpq NonInteger;
|
||||
typedef CGAL::Gmpq Nested;
|
||||
typedef CGAL::Gmpq Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ namespace Eigen {
|
|||
typedef CGAL::Gmpz Real;
|
||||
typedef CGAL::Gmpq NonInteger;
|
||||
typedef CGAL::Gmpz Nested;
|
||||
typedef CGAL::Gmpz Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -1268,6 +1268,7 @@ namespace Eigen {
|
|||
typedef CGAL::Interval_nt<b> Real;
|
||||
typedef CGAL::Interval_nt<b> NonInteger;
|
||||
typedef CGAL::Interval_nt<b> Nested;
|
||||
typedef double Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -1428,6 +1428,7 @@ namespace Eigen {
|
|||
// typedef CGAL::Lazy_exact_nt<ET> NonInteger;
|
||||
typedef CGAL::Lazy_exact_nt<typename NumTraits<ET>::NonInteger> NonInteger;
|
||||
typedef CGAL::Lazy_exact_nt<ET> Nested;
|
||||
typedef CGAL::Lazy_exact_nt<ET> Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -888,6 +888,7 @@ namespace Eigen {
|
|||
typedef CGAL::MP_Float Real;
|
||||
typedef CGAL::Quotient<CGAL::MP_Float> NonInteger;
|
||||
typedef CGAL::MP_Float Nested;
|
||||
typedef CGAL::MP_Float Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -1135,6 +1135,7 @@ namespace Eigen {
|
|||
/* Should this be Quotient<Mpzf>? Gmpq? */
|
||||
typedef CGAL::Mpzf NonInteger;
|
||||
typedef CGAL::Mpzf Nested;
|
||||
typedef CGAL::Mpzf Literal;
|
||||
|
||||
static inline Real epsilon() { return 0; }
|
||||
static inline Real dummy_precision() { return 0; }
|
||||
|
|
|
|||
|
|
@ -859,6 +859,7 @@ namespace Eigen {
|
|||
typedef CGAL::Quotient<NT> Real;
|
||||
typedef CGAL::Quotient<NT> NonInteger;
|
||||
typedef CGAL::Quotient<NT> Nested;
|
||||
typedef CGAL::Quotient<NT> Literal;
|
||||
|
||||
static inline Real epsilon() { return NumTraits<NT>::epsilon(); }
|
||||
static inline Real dummy_precision() { return NumTraits<NT>::dummy_precision(); }
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ namespace Eigen {
|
|||
typedef CGAL::Sqrt_extension<NT, ROOT, ACDE_TAG, FP_TAG> Real;
|
||||
typedef Real NonInteger;
|
||||
typedef Real Nested;
|
||||
typedef Real Literal;
|
||||
|
||||
static inline Real epsilon() { return NumTraits<NT>::epsilon(); }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue