Restored all cn/0 based algorithms (cn/0, cn-lite/0, cn/xao, cn-heavy/0, cn-heavy/xhv)
This commit is contained in:
parent
fc4f43ac7f
commit
28d1eaf8da
5 changed files with 2618 additions and 2657 deletions
|
@ -1,6 +1,8 @@
|
|||
#ifndef FAST_DIV_HEAVY_CL
|
||||
#define FAST_DIV_HEAVY_CL
|
||||
|
||||
#if (ALGO_FAMILY == FAMILY_CN_HEAVY)
|
||||
|
||||
inline long fast_div_heavy(long _a, int _b)
|
||||
{
|
||||
long a = abs(_a);
|
||||
|
@ -25,3 +27,5 @@ inline long fast_div_heavy(long _a, int _b)
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue