sc_signed.h
来自「system C源码 一种替代verilog的语言」· C头文件 代码 · 共 1,617 行 · 第 1/5 页
H
1,617 行
sc_signed operator / (int64 u, const sc_unsigned& v); sc_signed operator / (long u, const sc_unsigned& v); inline sc_signed operator / (int u, const sc_unsigned& v); sc_signed operator / (const sc_signed& u, const sc_signed& v); sc_signed operator / (const sc_signed& u, int64 v); sc_signed operator / (const sc_signed& u, uint64 v); sc_signed operator / (const sc_signed& u, long v); sc_signed operator / (const sc_signed& u, unsigned long v); inline sc_signed operator / (const sc_signed& u, int v); inline sc_signed operator / (const sc_signed& u, unsigned int v); sc_signed operator / (int64 u, const sc_signed& v); sc_signed operator / (uint64 u, const sc_signed& v); sc_signed operator / (long u, const sc_signed& v); sc_signed operator / (unsigned long u, const sc_signed& v); inline sc_signed operator / (int u, const sc_signed& v); inline sc_signed operator / (unsigned int u, const sc_signed& v); sc_signed operator / (const sc_unsigned& u, const sc_int_base& v); sc_signed operator / (const sc_int_base& u, const sc_unsigned& v); sc_signed operator / (const sc_signed& u, const sc_int_base& v); sc_signed operator / (const sc_signed& u, const sc_uint_base& v); sc_signed operator / (const sc_int_base& u, const sc_signed& v); sc_signed operator / (const sc_uint_base& u, const sc_signed& v); // MODulo operators: sc_signed operator % (const sc_unsigned& u, const sc_signed& v); sc_signed operator % (const sc_signed& u, const sc_unsigned& v); sc_signed operator % (const sc_unsigned& u, int64 v); sc_signed operator % (const sc_unsigned& u, long v); inline sc_signed operator % (const sc_unsigned& u, int v); sc_signed operator % (int64 u, const sc_unsigned& v); sc_signed operator % (long u, const sc_unsigned& v); inline sc_signed operator % (int u, const sc_unsigned& v); sc_signed operator % (const sc_signed& u, const sc_signed& v); sc_signed operator % (const sc_signed& u, int64 v); sc_signed operator % (const sc_signed& u, uint64 v); sc_signed operator % (const sc_signed& u, long v); sc_signed operator % (const sc_signed& u, unsigned long v); inline sc_signed operator % (const sc_signed& u, int v); inline sc_signed operator % (const sc_signed& u, unsigned int v); sc_signed operator % (int64 u, const sc_signed& v); sc_signed operator % (uint64 u, const sc_signed& v); sc_signed operator % (long u, const sc_signed& v); sc_signed operator % (unsigned long u, const sc_signed& v); inline sc_signed operator % (int u, const sc_signed& v); inline sc_signed operator % (unsigned int u, const sc_signed& v); sc_signed operator % (const sc_unsigned& u, const sc_int_base& v); sc_signed operator % (const sc_int_base& u, const sc_unsigned& v); sc_signed operator % (const sc_signed& u, const sc_int_base& v); sc_signed operator % (const sc_signed& u, const sc_uint_base& v); sc_signed operator % (const sc_int_base& u, const sc_signed& v); sc_signed operator % (const sc_uint_base& u, const sc_signed& v); // BITWISE OPERATORS: // Bitwise AND operators: sc_signed operator & (const sc_unsigned& u, const sc_signed& v); sc_signed operator & (const sc_signed& u, const sc_unsigned& v); sc_signed operator & (const sc_unsigned& u, int64 v); sc_signed operator & (const sc_unsigned& u, long v); inline sc_signed operator & (const sc_unsigned& u, int v); sc_signed operator & (int64 u, const sc_unsigned& v); sc_signed operator & (long u, const sc_unsigned& v); inline sc_signed operator & (int u, const sc_unsigned& v); sc_signed operator & (const sc_signed& u, const sc_signed& v); sc_signed operator & (const sc_signed& u, int64 v); sc_signed operator & (const sc_signed& u, uint64 v); sc_signed operator & (const sc_signed& u, long v); sc_signed operator & (const sc_signed& u, unsigned long v); inline sc_signed operator & (const sc_signed& u, int v); inline sc_signed operator & (const sc_signed& u, unsigned int v); sc_signed operator & (int64 u, const sc_signed& v); sc_signed operator & (uint64 u, const sc_signed& v); sc_signed operator & (long u, const sc_signed& v); sc_signed operator & (unsigned long u, const sc_signed& v); inline sc_signed operator & (int u, const sc_signed& v); inline sc_signed operator & (unsigned int u, const sc_signed& v); sc_signed operator & (const sc_unsigned& u, const sc_int_base& v); sc_signed operator & (const sc_int_base& u, const sc_unsigned& v); sc_signed operator & (const sc_signed& u, const sc_int_base& v); sc_signed operator & (const sc_signed& u, const sc_uint_base& v); sc_signed operator & (const sc_int_base& u, const sc_signed& v); sc_signed operator & (const sc_uint_base& u, const sc_signed& v); // Bitwise OR operators: sc_signed operator | (const sc_unsigned& u, const sc_signed& v); sc_signed operator | (const sc_signed& u, const sc_unsigned& v); sc_signed operator | (const sc_unsigned& u, int64 v); sc_signed operator | (const sc_unsigned& u, long v); inline sc_signed operator | (const sc_unsigned& u, int v); sc_signed operator | (int64 u, const sc_unsigned& v); sc_signed operator | (long u, const sc_unsigned& v); inline sc_signed operator | (int u, const sc_unsigned& v); sc_signed operator | (const sc_signed& u, const sc_signed& v); sc_signed operator | (const sc_signed& u, int64 v); sc_signed operator | (const sc_signed& u, uint64 v); sc_signed operator | (const sc_signed& u, long v); sc_signed operator | (const sc_signed& u, unsigned long v); inline sc_signed operator | (const sc_signed& u, int v); inline sc_signed operator | (const sc_signed& u, unsigned int v); sc_signed operator | (int64 u, const sc_signed& v); sc_signed operator | (uint64 u, const sc_signed& v); sc_signed operator | (long u, const sc_signed& v); sc_signed operator | (unsigned long u, const sc_signed& v); inline sc_signed operator | (int u, const sc_signed& v); inline sc_signed operator | (unsigned int u, const sc_signed& v); sc_signed operator | (const sc_unsigned& u, const sc_int_base& v); sc_signed operator | (const sc_int_base& u, const sc_unsigned& v); sc_signed operator | (const sc_signed& u, const sc_int_base& v); sc_signed operator | (const sc_signed& u, const sc_uint_base& v); sc_signed operator | (const sc_int_base& u, const sc_signed& v); sc_signed operator | (const sc_uint_base& u, const sc_signed& v); // Bitwise XOR operators: sc_signed operator ^ (const sc_unsigned& u, const sc_signed& v); sc_signed operator ^ (const sc_signed& u, const sc_unsigned& v); sc_signed operator ^ (const sc_unsigned& u, int64 v); sc_signed operator ^ (const sc_unsigned& u, long v); inline sc_signed operator ^ (const sc_unsigned& u, int v); sc_signed operator ^ (int64 u, const sc_unsigned& v); sc_signed operator ^ (long u, const sc_unsigned& v); inline sc_signed operator ^ (int u, const sc_unsigned& v); sc_signed operator ^ (const sc_signed& u, const sc_signed& v); sc_signed operator ^ (const sc_signed& u, int64 v); sc_signed operator ^ (const sc_signed& u, uint64 v); sc_signed operator ^ (const sc_signed& u, long v); sc_signed operator ^ (const sc_signed& u, unsigned long v); inline sc_signed operator ^ (const sc_signed& u, int v); inline sc_signed operator ^ (const sc_signed& u, unsigned int v); sc_signed operator ^ (int64 u, const sc_signed& v); sc_signed operator ^ (uint64 u, const sc_signed& v); sc_signed operator ^ (long u, const sc_signed& v); sc_signed operator ^ (unsigned long u, const sc_signed& v); inline sc_signed operator ^ (int u, const sc_signed& v); inline sc_signed operator ^ (unsigned int u, const sc_signed& v); sc_signed operator ^ (const sc_unsigned& u, const sc_int_base& v); sc_signed operator ^ (const sc_int_base& u, const sc_unsigned& v); sc_signed operator ^ (const sc_signed& u, const sc_int_base& v); sc_signed operator ^ (const sc_signed& u, const sc_uint_base& v); sc_signed operator ^ (const sc_int_base& u, const sc_signed& v); sc_signed operator ^ (const sc_uint_base& u, const sc_signed& v); // SHIFT OPERATORS: // LEFT SHIFT operators: sc_unsigned operator << (const sc_unsigned& u, const sc_signed& v); sc_signed operator << (const sc_signed& u, const sc_unsigned& v); sc_signed operator << (const sc_signed& u, const sc_signed& v); sc_signed operator << (const sc_signed& u, int64 v); sc_signed operator << (const sc_signed& u, uint64 v); sc_signed operator << (const sc_signed& u, long v); sc_signed operator << (const sc_signed& u, unsigned long v); inline sc_signed operator << (const sc_signed& u, int v); inline sc_signed operator << (const sc_signed& u, unsigned int v); sc_signed operator << (const sc_signed& u, const sc_int_base& v); sc_signed operator << (const sc_signed& u, const sc_uint_base& v); // RIGHT SHIFT operators: sc_unsigned operator >> (const sc_unsigned& u, const sc_signed& v); sc_signed operator >> (const sc_signed& u, const sc_unsigned& v); sc_signed operator >> (const sc_signed& u, const sc_signed& v); sc_signed operator >> (const sc_signed& u, int64 v); sc_signed operator >> (const sc_signed& u, uint64 v); sc_signed operator >> (const sc_signed& u, long v); sc_signed operator >> (const sc_signed& u, unsigned long v); inline sc_signed operator >> (const sc_signed& u, int v); inline sc_signed operator >> (const sc_signed& u, unsigned int v); sc_signed operator >> (const sc_signed& u, const sc_int_base& v); sc_signed operator >> (const sc_signed& u, const sc_uint_base& v); // Unary arithmetic operators sc_signed operator + (const sc_signed& u); sc_signed operator - (const sc_signed& u); sc_signed operator - (const sc_unsigned& u); // LOGICAL OPERATORS: // Logical EQUAL operators: bool operator == (const sc_unsigned& u, const sc_signed& v); bool operator == (const sc_signed& u, const sc_unsigned& v); bool operator == (const sc_signed& u, const sc_signed& v); bool operator == (const sc_signed& u, int64 v); bool operator == (const sc_signed& u, uint64 v); bool operator == (const sc_signed& u, long v); bool operator == (const sc_signed& u, unsigned long v); inline bool operator == (const sc_signed& u, int v); inline bool operator == (const sc_signed& u, unsigned int v); bool operator == (int64 u, const sc_signed& v); bool operator == (uint64 u, const sc_signed& v); bool operator == (long u, const sc_signed& v); bool operator == (unsigned long u, const sc_signed& v); inline bool operator == (int u, const sc_signed& v); inline bool operator == (unsigned int u, const sc_signed& v); bool operator == (const sc_signed& u, const sc_int_base& v); bool operator == (const sc_signed& u, const sc_uint_base& v); bool operator == (const sc_int_base& u, const sc_signed& v); bool operator == (const sc_uint_base& u, const sc_signed& v); // Logical NOT_EQUAL operators: bool operator != (const sc_unsigned& u, const sc_signed& v); bool operator != (const sc_signed& u, const sc_unsigned& v); bool operator != (const sc_signed& u, const sc_signed& v); bool operator != (const sc_signed& u, int64 v); bool operator != (const sc_signed& u, uint64 v); bool operator != (const sc_signed& u, long v); bool operator != (const sc_signed& u, unsigned long v); inline bool operator != (const sc_signed& u, int v); inline bool operator != (const sc_signed& u, unsigned int v); bool operator != (int64 u, const sc_signed& v); bool operator != (uint64 u, const sc_signed& v); bool operator != (long u, const sc_signed& v); bool operator != (unsigned long u, const sc_signed& v); inline bool operator != (int u, const sc_signed& v); inline bool operator != (unsigned int u, const sc_signed& v); bool operator != (const sc_signed& u, const sc_int_base& v); bool operator != (const sc_signed& u, const sc_uint_base& v); bool operator != (const sc_int_base& u, const sc_signed& v); bool operator != (const sc_uint_base& u, const sc_signed& v); // Logical LESS_THAN operators: bool operator < (const sc_unsigned& u, const sc_signed& v); bool operator < (const sc_signed& u, const sc_unsigned& v); bool operator < (const sc_signed& u, const sc_signed& v); bool operator < (const sc_signed& u, int64 v); bool operator < (const sc_signed& u, uint64 v); bool operator < (const sc_signed& u, long v); bool operator < (const sc_signed& u, unsigned long v); inline bool operator < (const sc_signed& u, int v); inline bool operator < (const sc_signed& u, unsigned int v); bool operator < (int64 u, const sc_signed& v); bool operator < (uint64 u, const sc_signed& v); bool operator < (long u, const sc_signed& v); bool operator < (unsigned long u, const sc_signed& v); inline bool operator < (int u, const sc_signed& v); inline bool operator < (unsigned int u, const sc_signed& v); bool operator < (const sc_signed& u, const sc_int_base& v); bool operator < (const sc_signed& u, const sc_uint_base& v); bool operator < (const sc_int_base& u, const sc_signed& v); bool operator < (const sc_uint_base& u, const sc_signed& v); // Logical LESS_THAN_AND_EQUAL operators: bool operator <= (const sc_unsigned& u, const sc_signed& v); bool operator <= (const sc_signed& u, const sc_unsigned& v); bool operator <= (const sc_signed& u, const sc_signed& v); bool operator <= (const sc_signed& u, int64 v); bool operator <= (const sc_signed& u, uint64 v); bool operator <= (const sc_signed& u, long v); bool operator <= (const sc_signed& u, unsigned long v); inline bool operator <= (const sc_signed& u, int v); inline bool operator <= (const sc_signed& u, unsigned int v); bool operator <= (int64 u, const sc_signed& v); bool operator <= (uint64 u, const sc_signed& v); bool operator <= (long u, const sc_signed& v); bool operator <= (unsigned long u, const sc_signed& v); inline bool operator <= (int u, const sc_signed& v); inline bool operator <= (unsigned int u, const sc_signed& v); bool operator <= (const sc_signed& u, const sc_int_base& v); bool operator <= (const sc_signed& u, const sc_uint_base& v); bool operator <= (const sc_int_base& u, const sc_signed& v); bool operator <= (const sc_uint_base& u, const sc_signed& v);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?