ready to fix length maintanence
This commit is contained in:
@ -15,7 +15,7 @@ class int2048 {
|
||||
* num_length is the length of the integer, (num_length+kNum-1)/kNum is the
|
||||
* length of val with data. Note that position in val without data is 0.
|
||||
*/
|
||||
const static int kMod = 100000000, kNum = 8, kDefaultLength = 10;
|
||||
const static int kStoreBase = 100000000, kNum = 8, kDefaultLength = 10;
|
||||
const static int kMemAdditionScalar = 2, kMemDeleteScalar = 4;
|
||||
/**
|
||||
* the follow data used by NTT is generated by this code:
|
||||
@ -50,7 +50,8 @@ root= 6
|
||||
void NTTTransform(__int128_t *, int, bool);
|
||||
|
||||
void RightMoveBy(int);
|
||||
|
||||
void ProcessHalfBlock();
|
||||
void RestoreHalfBlock();
|
||||
public:
|
||||
int2048();
|
||||
int2048(long long);
|
||||
|
Reference in New Issue
Block a user