亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bigint.h

?? 有關長整形數據的相關問題
?? H
?? 第 1 頁 / 共 2 頁
字號:
#ifndef BIGINT_H
#define BIGINT_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <memory.h>
#include <string.h>
#include <ctype.h>

class CBigInt {
protected:
// Data
	int m_ndw;					// Number of elements in the m_value array
	unsigned long* m_value;		// pointer to the actual data
	mutable char* m_stringBuf;	// Temporary string buffer for formatted output
// Internal procedures
	void Div(const CBigInt& Divisor, CBigInt* Quotient, CBigInt *Remainder) const;
	// Integer Divisions will be faster
	void Div(unsigned long Divisor, CBigInt *Quotient, CBigInt *Remainder) const;
	void Div(long Divisor, CBigInt *Quotient, CBigInt *Remainder) const;
	void Negate();
	bool IsNegative() const { return m_ndw == 0 ? false : ((*(m_value + m_ndw - 1) & 0x80000000) != 0); }
	void ExpandTo(int nWords, bool bNegative = false);
	void Expand(int nWords, bool bNegative = false) { ExpandTo(nWords + m_ndw, bNegative); }
	void Optimize();
	CBigInt& FromHex(const char *szVal);
	CBigInt& FromOct(const char *szVal);
	CBigInt& FromBin(const char *szVal);
	CBigInt& FromDec(const char *szVal);
public:
// Constructors/Destructor
	CBigInt();
	CBigInt(const CBigInt&);
	CBigInt(int Value);
	CBigInt(unsigned int Value);
	CBigInt(long Value);
	CBigInt(unsigned long Value);
	CBigInt(const __int64 &Value);
	CBigInt(const unsigned __int64 &Value);
	CBigInt(const unsigned long *Data, int DataSize);
	CBigInt(const char* szValue);

	virtual ~CBigInt();

// Conversion Operators
	operator bool() const;
	operator short() const { return (short)m_value[0]; }
	operator int() const { return (int)m_value[0]; }
	operator long() const { return (long)m_value[0]; }
	operator __int64() const;
	operator unsigned short() const { return (unsigned short)m_value[0]; }
	operator unsigned int() const { return (unsigned int)m_value[0]; }
	operator unsigned long() const { return (unsigned long) m_value[0]; }
	operator unsigned __int64() const;
	operator char*() const;
	operator const char*() const;

// Unary Operators
	CBigInt& operator ++();		// Prefix increment
	CBigInt operator ++(int);	// Postfix increment
	CBigInt& operator --();		// Prefix decrement
	CBigInt operator --(int);	// Postfix decrement
	CBigInt operator -() const;	// Negation
	CBigInt operator ~() const;	// Ones complement
	bool operator !() const;	// Logical Not

// Binary Operators
	void Div(const CBigInt &Divisor, CBigInt &Quotient, CBigInt &Remainder) const {
		Div(Divisor, &Quotient, &Remainder);
	}
	void Div(unsigned long Divisor, CBigInt &Quotient, CBigInt &Remainder) const {
		Div(Divisor, &Quotient, &Remainder);
	}
	void Div(long Divisor, CBigInt &Quotient, CBigInt &Remainder) const {
		Div(Divisor, &Quotient, &Remainder);
	}
	void Div(int Divisor, CBigInt &Quotient, CBigInt &Remainder) const {
		Div((long)Divisor, &Quotient, &Remainder);
	}
	void Div(unsigned int Divisor, CBigInt &Quotient, CBigInt &Remainder) const {
		Div((unsigned long)Divisor, &Quotient, &Remainder);
	}

	CBigInt operator +(const CBigInt& Value) const;
	CBigInt operator +(int Value) const { return operator +(CBigInt(Value)); }
	CBigInt operator +(unsigned int Value) const { return operator +(CBigInt(Value)); }
	CBigInt operator +(long Value) const { return operator +(CBigInt(Value)); }
	CBigInt operator +(unsigned long Value) const { return operator +(CBigInt(Value)); }
	CBigInt operator +(const __int64 &Value) const { return operator +(CBigInt(Value)); }
	CBigInt operator +(const unsigned __int64 &Value) const { return operator +(CBigInt(Value)); }

	friend CBigInt operator +(int A, const CBigInt &B) { return CBigInt(A).operator +(B); }
	friend CBigInt operator +(unsigned int A, const CBigInt &B) { return CBigInt(A).operator +(B); }
	friend CBigInt operator +(long A, const CBigInt &B) { return CBigInt(A).operator +(B); }
	friend CBigInt operator +(unsigned long A, const CBigInt &B) { return CBigInt(A).operator +(B); }
	friend CBigInt operator +(const __int64 &A, const CBigInt &B) { return CBigInt(A).operator +(B); }
	friend CBigInt operator +(const unsigned __int64 A, const CBigInt &B) { return CBigInt(A).operator +(B);  }

	CBigInt operator -(const CBigInt& Value) const;
	CBigInt operator -(int Value) const { return operator -(CBigInt(Value)); }
	CBigInt operator -(unsigned int Value) const { return operator -(CBigInt(Value)); }
	CBigInt operator -(long Value) const { return operator -(CBigInt(Value)); }
	CBigInt operator -(unsigned long Value) const { return operator -(CBigInt(Value)); }
	CBigInt operator -(const __int64 &Value) const { return operator -(CBigInt(Value)); }
	CBigInt operator -(const unsigned __int64 &Value) const { return operator -(CBigInt(Value)); }

	friend CBigInt operator -(int A, const CBigInt &B) { return CBigInt(A).operator -(B); }
	friend CBigInt operator -(unsigned int A, const CBigInt &B) { return CBigInt(A).operator -(B); }
	friend CBigInt operator -(long A, const CBigInt &B) { return CBigInt(A).operator -(B); }
	friend CBigInt operator -(unsigned long A, const CBigInt &B) { return CBigInt(A).operator -(B); }
	friend CBigInt operator -(const __int64 &A, const CBigInt &B) { return CBigInt(A).operator -(B); }
	friend CBigInt operator -(const unsigned __int64 A, const CBigInt &B) { return CBigInt(A).operator -(B);  }

	CBigInt operator *(const CBigInt& Value) const;
	CBigInt operator *(unsigned long Value) const;
	CBigInt operator *(unsigned int Value) const { return operator *((unsigned long)Value); }
	CBigInt operator *(long Value) const;
	CBigInt operator *(int Value) const { return operator *(long(Value)); }
	CBigInt operator *(const __int64 &Value) const { return operator *(CBigInt(Value)); }
	CBigInt operator *(const unsigned __int64 &Value) const { return operator *(CBigInt(Value)); }
	
	friend CBigInt operator *(int A, const CBigInt &B) { return B.operator *(A); }
	friend CBigInt operator *(unsigned int A, const CBigInt &B) { return B.operator *(A); }
	friend CBigInt operator *(long A, const CBigInt &B) { return B.operator *(A); }
	friend CBigInt operator *(unsigned long A, const CBigInt &B) { return B.operator *(A); }
	friend CBigInt operator *(const __int64 &A, const CBigInt &B) { return B.operator *(A); }
	friend CBigInt operator *(const unsigned __int64 A, const CBigInt &B) { return B.operator *(A);  }

	CBigInt operator /(const CBigInt& Value) const;
	CBigInt operator /(int Value) const;
	CBigInt operator /(unsigned int Value) const;
	CBigInt operator /(long Value) const;
	CBigInt operator /(unsigned long Value) const;
	CBigInt operator /(const __int64 &Value) const { return operator /(CBigInt(Value)); }
	CBigInt operator /(const unsigned __int64 &Value) const { return operator /(CBigInt(Value)); }
	
	friend int operator /(int A, const CBigInt &B);
	friend unsigned int operator /(unsigned int A, const CBigInt &B);
	friend long operator /(long A, const CBigInt &B);
	friend unsigned long operator /(unsigned long A, const CBigInt &B);
	friend __int64 operator /(const __int64 &A, const CBigInt &B);
	friend unsigned __int64 operator /(const unsigned __int64 A, const CBigInt &B);

	CBigInt operator %(const CBigInt& Value) const;
	CBigInt operator %(int Value) const;
	CBigInt operator %(unsigned int Value) const;
	CBigInt operator %(long Value) const;
	CBigInt operator %(unsigned long Value) const;
	CBigInt operator %(const __int64 &Value) const { return operator %(CBigInt(Value)); }
	CBigInt operator %(const unsigned __int64 &Value) const { return operator %(CBigInt(Value)); }
	
	friend CBigInt operator %(int A, const CBigInt &B);
	friend CBigInt operator %(unsigned int A, const CBigInt &B);
	friend CBigInt operator %(long A, const CBigInt &B);
	friend CBigInt operator %(unsigned long A, const CBigInt &B);
	friend CBigInt operator %(const __int64 &A, const CBigInt &B);
	friend CBigInt operator %(const unsigned __int64 A, const CBigInt &B);

	CBigInt operator &(const CBigInt& Value) const;
	CBigInt operator &(int Value) const { return operator &(CBigInt(Value)); }
	CBigInt operator &(unsigned int Value) const { return operator &(CBigInt(Value)); }
	CBigInt operator &(long Value) const { return operator &(CBigInt(Value)); }
	CBigInt operator &(unsigned long Value) const { return operator &(CBigInt(Value)); }
	CBigInt operator &(const __int64 &Value) const { return operator &(CBigInt(Value)); }
	CBigInt operator &(const unsigned __int64 &Value) const { return operator &(CBigInt(Value)); }
	
	friend CBigInt operator &(int A, const CBigInt &B) { return CBigInt(A).operator &(B); }
	friend CBigInt operator &(unsigned int A, const CBigInt &B) { return CBigInt(A).operator &(B); }
	friend CBigInt operator &(long A, const CBigInt &B) { return CBigInt(A).operator &(B); }
	friend CBigInt operator &(unsigned long A, const CBigInt &B) { return CBigInt(A).operator &(B); }
	friend CBigInt operator &(const __int64 &A, const CBigInt &B) { return CBigInt(A).operator &(B); }
	friend CBigInt operator &(const unsigned __int64 A, const CBigInt &B) { return CBigInt(A).operator &(B);  }

	CBigInt operator |(const CBigInt& Value) const;
	CBigInt operator |(int Value) const { return operator |(CBigInt(Value)); }
	CBigInt operator |(unsigned int Value) const { return operator |(CBigInt(Value)); }
	CBigInt operator |(long Value) const { return operator |(CBigInt(Value)); }
	CBigInt operator |(unsigned long Value) const { return operator |(CBigInt(Value)); }
	CBigInt operator |(const __int64 &Value) const { return operator |(CBigInt(Value)); }
	CBigInt operator |(const unsigned __int64 &Value) const { return operator |(CBigInt(Value)); }
	
	friend CBigInt operator |(int A, const CBigInt &B) { return CBigInt(A).operator |(B); }
	friend CBigInt operator |(unsigned int A, const CBigInt &B) { return CBigInt(A).operator |(B); }
	friend CBigInt operator |(long A, const CBigInt &B) { return CBigInt(A).operator |(B); }
	friend CBigInt operator |(unsigned long A, const CBigInt &B) { return CBigInt(A).operator |(B); }
	friend CBigInt operator |(const __int64 &A, const CBigInt &B) { return CBigInt(A).operator |(B); }
	friend CBigInt operator |(const unsigned __int64 A, const CBigInt &B) { return CBigInt(A).operator |(B);  }

	CBigInt operator ^(const CBigInt& Value) const;
	CBigInt operator ^(int Value) const { return operator ^(CBigInt(Value)); }
	CBigInt operator ^(unsigned int Value) const { return operator ^(CBigInt(Value)); }
	CBigInt operator ^(long Value) const { return operator ^(CBigInt(Value)); }
	CBigInt operator ^(unsigned long Value) const { return operator ^(CBigInt(Value)); }
	CBigInt operator ^(const __int64 &Value) const { return operator ^(CBigInt(Value)); }
	CBigInt operator ^(const unsigned __int64 &Value) const { return operator ^(CBigInt(Value)); }
	
	friend CBigInt operator ^(int A, const CBigInt &B) { return CBigInt(A).operator ^(B); }
	friend CBigInt operator ^(unsigned int A, const CBigInt &B) { return CBigInt(A).operator ^(B); }
	friend CBigInt operator ^(long A, const CBigInt &B) { return CBigInt(A).operator ^(B); }
	friend CBigInt operator ^(unsigned long A, const CBigInt &B) { return CBigInt(A).operator ^(B); }
	friend CBigInt operator ^(const __int64 &A, const CBigInt &B) { return CBigInt(A).operator ^(B); }
	friend CBigInt operator ^(const unsigned __int64 A, const CBigInt &B) { return CBigInt(A).operator ^(B);  }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女国产一区二区三区| 国产亚洲欧美日韩日本| 亚洲一区二区三区四区五区中文| 99re66热这里只有精品3直播| 亚洲三级视频在线观看| 欧美日韩在线免费视频| 免费成人小视频| 国产色产综合色产在线视频| 国产成人aaa| 亚洲色图都市小说| 91精品国产综合久久久蜜臀图片 | 国产精品国产自产拍在线| 99精品视频在线观看免费| 亚洲理论在线观看| 欧美日韩在线精品一区二区三区激情| 天天亚洲美女在线视频| 精品国偷自产国产一区| 成人国产电影网| 亚洲最大成人网4388xx| 在线播放日韩导航| 成人一区二区三区在线观看| 亚洲精品网站在线观看| 日韩一区二区在线观看视频| 成人午夜av电影| 婷婷综合久久一区二区三区| 久久久不卡影院| 91网页版在线| 蜜桃久久久久久久| 亚洲欧美综合色| 精品国产免费人成在线观看| 9久草视频在线视频精品| 日本中文在线一区| 亚洲日本电影在线| 精品国产百合女同互慰| 在线免费观看日本欧美| 国内国产精品久久| 亚洲在线观看免费| 国产精品午夜春色av| 在线播放中文字幕一区| 91在线观看美女| 国产一区二区视频在线| 日韩精品电影一区亚洲| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 一本一道波多野结衣一区二区| 蜜桃视频在线观看一区二区| 一区二区欧美在线观看| 国产日产欧美一区| 欧美大白屁股肥臀xxxxxx| 色av一区二区| 成人ar影院免费观看视频| 美女脱光内衣内裤视频久久网站 | 亚洲最大的成人av| 国产精品久久久久久久久免费相片| 欧美一级高清片| 欧美亚洲免费在线一区| www.性欧美| 丰满少妇在线播放bd日韩电影| 丝袜诱惑亚洲看片| 亚洲欧美日韩国产手机在线 | 久久蜜臀精品av| 91精品国产综合久久福利软件| 91视频国产资源| www.亚洲色图.com| 成人av资源下载| 成人免费毛片高清视频| 丁香六月综合激情| 国产成a人亚洲精| 国产一区二区成人久久免费影院| 男男gaygay亚洲| 蜜桃视频第一区免费观看| 日韩不卡一区二区| 日本vs亚洲vs韩国一区三区| 日韩黄色一级片| 日本aⅴ免费视频一区二区三区| 午夜精品久久久久久久99樱桃| 亚洲国产日韩a在线播放性色| 亚洲老司机在线| 一区二区三区毛片| 一区二区三区四区不卡在线| 一区2区3区在线看| 五月天亚洲精品| 秋霞av亚洲一区二区三| 麻豆精品精品国产自在97香蕉 | 一卡二卡三卡日韩欧美| 亚洲一级二级在线| 丝瓜av网站精品一区二区| 香蕉久久夜色精品国产使用方法 | 日韩 欧美一区二区三区| 日韩精品每日更新| 麻豆精品一区二区av白丝在线| 久久99蜜桃精品| 精久久久久久久久久久| 国产精品影视天天线| av资源站一区| 欧美午夜电影网| 精品日韩一区二区三区 | 亚洲欧洲日产国产综合网| 亚洲色欲色欲www| 三级在线观看一区二区| 久久99精品视频| av成人动漫在线观看| 欧美在线一区二区三区| 日韩午夜电影在线观看| 国产欧美一区二区在线观看| 亚洲最大的成人av| 精品无人码麻豆乱码1区2区| 99久久er热在这里只有精品66| 欧美视频一二三区| 国产午夜精品一区二区 | 国产精品美女一区二区| 午夜一区二区三区在线观看| 国产麻豆视频一区| 91福利国产成人精品照片| 3d成人动漫网站| 亚洲欧洲日韩一区二区三区| 奇米精品一区二区三区在线观看一 | 成人午夜私人影院| 欧美日韩精品一区二区三区四区| 久久久久成人黄色影片| 一区二区三区四区av| 国产美女一区二区| 欧美三级视频在线观看| 国产视频一区不卡| 亚洲成av人片一区二区梦乃| 国产成人午夜精品5599| 制服丝袜日韩国产| 亚洲精品一二三| 国产一区在线观看视频| 717成人午夜免费福利电影| 国产精品激情偷乱一区二区∴| 久久草av在线| 欧美色成人综合| 中文字幕亚洲精品在线观看| 韩国三级在线一区| 欧美精品日日鲁夜夜添| 亚洲欧洲国产日韩| 成人性生交大片免费看视频在线 | 91免费版在线看| 国产丝袜欧美中文另类| 奇米四色…亚洲| 欧美视频在线观看一区| 亚洲欧洲精品一区二区精品久久久| 日韩成人一区二区| 欧美午夜精品免费| 亚洲欧美日韩久久| 国产suv精品一区二区三区| 亚洲va国产va欧美va观看| 色综合av在线| 亚洲图片另类小说| 不卡的电影网站| 中文字幕乱码久久午夜不卡 | 亚洲自拍偷拍麻豆| av在线播放成人| 欧美国产激情一区二区三区蜜月| 狠狠色狠狠色合久久伊人| 日韩欧美一级二级三级久久久| 一级做a爱片久久| 91精品办公室少妇高潮对白| 成人免费在线播放视频| 国产91清纯白嫩初高中在线观看| 日韩精品一区二区三区swag| 久久99国产精品尤物| 日韩三级视频在线观看| 免费观看成人av| 亚洲精品一区二区在线观看| 蜜桃视频一区二区三区| 精品国产免费人成电影在线观看四季| 日韩电影免费一区| 日韩美一区二区三区| 久久精品国产一区二区| 欧美精品一区二区三区蜜桃视频 | 色综合久久久网| 亚洲精品国产无天堂网2021| 99久久婷婷国产| 成人免费一区二区三区在线观看| 91日韩精品一区| 亚洲国产精品久久久久婷婷884 | 美国十次了思思久久精品导航| 欧美电影免费提供在线观看| 国内精品久久久久影院薰衣草| 国产欧美日韩一区二区三区在线观看| 成人午夜视频在线观看| 亚洲嫩草精品久久| 制服丝袜一区二区三区| 激情欧美一区二区| 国产精品卡一卡二| 欧洲日韩一区二区三区| 麻豆精品蜜桃视频网站| 中文字幕免费不卡| 欧美日韩你懂得| 久久99国产精品久久99| 国产丝袜欧美中文另类| 91视频在线观看| 日韩国产精品久久| 欧美极品美女视频| 欧美亚洲自拍偷拍| 国产一区二区不卡| 亚洲精品成人a在线观看| 日韩网站在线看片你懂的| 成人黄色小视频在线观看|