Removed duplicate definitions

This commit is contained in:
Andreas Fabri 2003-10-04 15:11:33 +00:00
parent a602e9382c
commit 2c3bea97ce
2 changed files with 2 additions and 11 deletions

View File

@ -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

View File

@ -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