mirror of https://github.com/CGAL/cgal
Removed duplicate definitions
This commit is contained in:
parent
a602e9382c
commit
2c3bea97ce
|
|
@ -1,3 +1,5 @@
|
|||
Version 0.16 (4 October 2003)
|
||||
- Removed duplicate definitions
|
||||
|
||||
Version 0.15 (1 October 2003)
|
||||
- Copied ceilLg5, BIG, and log_5 from Expr.cpp to include/CORE/ExprRep.h
|
||||
|
|
|
|||
|
|
@ -41,20 +41,9 @@ unsigned int rootBoundHitCounter = 0;
|
|||
unsigned int computeBoundCallsCounter = 0;
|
||||
#endif
|
||||
|
||||
static const long BIG = (1L << 30);
|
||||
const char* Add::name = "+";
|
||||
const char* Sub::name = "-";
|
||||
|
||||
static const double log_5 = log(double(5))/log(double(2));
|
||||
|
||||
// Returns the ceil of log_2(5^a).
|
||||
extLong ceilLg5(const extLong & a) {
|
||||
#if defined( _MSC_VER) || defined(__sgi)
|
||||
return (int) ::ceil(log_5 * a.toLong());
|
||||
#else
|
||||
return (int) std::ceil(log_5 * a.toLong());
|
||||
#endif
|
||||
}
|
||||
|
||||
/********************************************************
|
||||
* class Expr
|
||||
|
|
|
|||
Loading…
Reference in New Issue