查询
1 词典释义:
unsigned int
时间: 2025-06-14 23:24:02

无符号整数

双语例句
  • Does the C99 standard guaranteed the binary representation of unsigned int?

    是C99标准保证无符号整数的二进制表示形式?

  • Ensure that an unsigned int is used where appropriate to prevent sign extension.

    确保使用无符号整数来防止符号扩展的问题。

  • These shifts can be avoided by using int and unsigned int for local variables.

    这些移位操作可以通过使用int和unsigned int的局部变量来避免。

  • Does cast between signed and unsigned int maintain exact bit pattern of variable in memory?

    做演员之间签署的和无符号整型变量在内存中保持精确的比特模式?

  • Spu_splats ((unsigned int) 5) creates a vector of unsigned ints with each element having the value 5.

    spu_splats ((unsigned int) 5)创建了一个unsigned int类型的向量,每个元素的值都是5。

  • This call also initializes the semaphore count: int sem_init(sem_t *sem, int pshared, unsigned int value). In this code

    它还会对信号量计数器进行初始化:int sem_init(sem_t *sem, int pshared, unsigned int value)。

  • The resulting perfect hash() function returns an unsigned int value in the range 0..(k-1), where k is the maximum keyword hash value +1.

    产生的完美 hash() 函数返回一个无符号的 int 值,范围为 0..(k-1),其中 k 值为最大关键字散列值加 1。

  • Hexadecimal constants without a suffix are defined as an unsigned int if it will fit into 32-bits and if the high order bit is turned on.

    如果一个没有后缀的16进制的常量是32位的,并且其高位被置位了,那么它就可以作为无符号整型进行定义。

  • spu_promote((unsigned int)5, 1) creates a vector of unsigned ints with 5 in the second element (element 1), and the remaining elements undefined.

    spu_promote((unsigned int)5, 1) 创建了一个 unsigned int 类型的向量,其中第二个元素(元素 1)为 5,其他元素尚未定义。

  • If one of the operands is unsigned and the other is a signed int, the expression becomes an unsigned.

    如果一个操作数是无符号整数,另外一个操作数是有符号整数,那么表达式的结果就是无符号整数。

  • C-89 data types (include signed and unsigned) short, int, long, long long, float, and double.

    C - 89数据类型(包括有符号和无符号)short、int、long、long long、float和double。

  • Untyped integral constants are of type (unsigned) int.

    无类型的整数常量就是(unsigned) int类型的。