⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 llongint.h

📁 应用编码与计算机密码学>程序 如果好的话请发言
💻 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 &dividend, 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 + -