📄 llongint.h
字号:
class LLongInt
{
public:
LLongInt();
LLongInt(__int64 i64);
LLongInt(char *strDec);
LLongInt(unsigned int *strHex, int intCount, int sign);
LLongInt(LLongInt &another);
~LLongInt( );
LLongInt operator -(LLongInt &another);
LLongInt operator *(LLongInt &another);
LLongInt Abs(LLongInt &lli);
void operator =(LLongInt &another);
int operator ==(LLongInt &another);
int operator >(LLongInt &another);
int operator <(LLongInt &another);
int operator >=(LLongInt &another);
int operator <=(LLongInt &another);
int operator !=(LLongInt &another);
char* LLongInt2A(char *buff, int radix, char *radixSymbols=NULL);
LLongInt ExpMod(LLongInt e, LLongInt n); //模幂乘算法
int IsPrime();
int ModRevert(LLongInt &m, LLongInt &result);
LLongInt Divide(LLongInt &divisor, LLongInt ÷nd, LLongInt &remainder);
unsigned int* GetBuff();
int GetBuffLength();
int GetSign();
private:
unsigned int *pLLI;
int lliLength; //int 的个数
int sign;
private:
int Trim( );
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -