u2long.h
来自「在linux系统下开发研究移动通信的工具型代码」· C头文件 代码 · 共 31 行
H
31 行
#ifndef _U2LONG_H#define _U2LONG_H/* * $Log: u2long.h,v $ * Revision 1.1 2000/05/03 14:30:04 bjc97r * Initial revision * */typedef struct { unsigned long h; /* high 32 bit word */ unsigned long l; /* low 32 bit word */} u2long;u2long u2long_rshift( u2long *src, unsigned n );u2long u2long_lshift( u2long *src, unsigned n );u2long u2long_inc( u2long *src );u2long u2long_dec( u2long *src );int u2long_cmp( u2long src1, u2long src2 );/* * strtou2long() converts a string representation of a primitive polynomial * into two unsigned long intergers. The max degree of the polynomials * this function can handle is 63. The string should be an octal representaion * of the polynomial without leading zero. */u2long strtou2long( char *P );#endif /* _U2LONG_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?