No need for an overload

This commit is contained in:
Andreas Fabri 2023-02-17 11:59:49 +00:00
parent 535045a527
commit 258d96fdf2
1 changed files with 0 additions and 21 deletions

View File

@ -27,31 +27,10 @@
#include <vector>
#if CGAL_USE_CORE
#include <CGAL/CORE/BigInt.h>
#endif
namespace CGAL {
namespace internal {
#if CGAL_USE_CORE
// bugfix for CORE by Michael Kerber
// why is there a specialized function for CORE?
inline CORE::BigInt shift_integer_by(CORE::BigInt x, long shift){
if( shift > 0 ){
while(shift>63) {
x = (x >> 63);
shift-=63;
}
x = (x >> shift);
}else{
// add 0 bits
x = (x << -shift);
}
return x;
}
#endif
template <class Shiftable>
Shiftable shift_integer_by(Shiftable x, long shift){