typedef.h

来自「大的整数运算」· C头文件 代码 · 共 37 行

H
37
字号
//#ifndef   ty_p   
//#define   ty_p 
#pragma once        
#define MSBOfWord	 0x80000000
#define LSBOfWord	 0x00000001
#define MskOfWord	 0xFFFFFFFF
#define HWordLEN	 16
#define DWordLEN	 64
#define B            0x100000000

typedef unsigned short	 HWord;
typedef short		 SHWord;
typedef unsigned long	 Word;
typedef long		 SWord;
typedef unsigned __int64 DWord;
typedef __int64		 SDWord;



#define WordLEN				32
#define BitPerBNum			512
#define WordPerBNum		BitPerBNum/WordLEN
#define BytePerBNum		BitPerBNum/8
#define BytePerWord			WordLEN/8
#define WordPerBNum		BitPerBNum/WordLEN
#define BytePerBNum		BitPerBNum/8
#define BytePerWord			WordLEN/8


typedef struct
{
/* BNum is divided into several Word, and stored in Data array */
	
  Word	Data[2*WordPerBNum];
} BNum, *pBNum;

 //#endif 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?