mirror of https://github.com/CGAL/cgal
make call no longer ambiguious
This commit is contained in:
parent
3b1dd44081
commit
01f89b0ccc
|
|
@ -93,7 +93,7 @@ public:
|
||||||
Expr(const BigRat& R) : RCExpr(new ConstRealRep(Real(R))) {}
|
Expr(const BigRat& R) : RCExpr(new ConstRealRep(Real(R))) {}
|
||||||
/// constructor for <tt>BigRat expression</tt>
|
/// constructor for <tt>BigRat expression</tt>
|
||||||
template <class BigRatExpr, class = std::enable_if_t< boost::multiprecision::is_number_expression<BigRatExpr>::value> >
|
template <class BigRatExpr, class = std::enable_if_t< boost::multiprecision::is_number_expression<BigRatExpr>::value> >
|
||||||
explicit Expr(const BigRatExpr& R) : RCExpr(new ConstRealRep(Real(BigRat(R)))) {}
|
Expr(const BigRatExpr& R) : RCExpr(new ConstRealRep(Real(BigRat(R)))) {}
|
||||||
|
|
||||||
/// constructor for <tt>BigFloat</tt>
|
/// constructor for <tt>BigFloat</tt>
|
||||||
Expr(const BigFloat& F) : RCExpr(new ConstRealRep(Real(F))) {}
|
Expr(const BigFloat& F) : RCExpr(new ConstRealRep(Real(F))) {}
|
||||||
|
|
|
||||||
|
|
@ -326,7 +326,7 @@ public:
|
||||||
NT w = Width()(x);
|
NT w = Width()(x);
|
||||||
w /= ::CORE::BigFloat(x.m()-x.err(),0,x.exp());
|
w /= ::CORE::BigFloat(x.m()-x.err(),0,x.exp());
|
||||||
w = w.abs();
|
w = w.abs();
|
||||||
return -(CORE::ceilLg(w.m()+w.err())+w.exp()*CORE::CHUNK_BIT);
|
return -(CORE::ceilLg(CORE::BigInt(w.m()+w.err()))+w.exp()*CORE::CHUNK_BIT);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue