所有这些整数类型都有相应的无符号数类型。
All these integer types also have corresponding unsigned types.
确保使用无符号整数来防止符号扩展的问题。
Ensure that an unsigned int is used where appropriate to prevent sign extension.
这可以通过mpyu指令(无符号相乘)实现。
首先,我建议以后写idl定义时不要再使用无符号整型。
First, I would say don't write new IDL definitions with unsigned integers.
CCSID是一个16位的无符号整数,惟一地标识一个特定的代码页。
A CCSID is a 16-bit unsigned integer that uniquely identifies a particular code page.
二进制源数据必须是一维的无符号字符数组。
Binary source data must be a single-dimensioned array of unsigned char.
是C99标准保证无符号整数的二进制表示形式?
Does the C99 standard guaranteed the binary representation of unsigned int?
本文给出了二进制补码和无符号乘法器的通用表达式。
The uniform expression of multiplier of two's complement and unsignednumber are given in this paper.
除非特别指出,整数均为标准二进制编码的无符号整型。
Unless mentioned otherwise, integers are encoded in standard binary encoding for unsigned integers.
它加载的是18位的无符号值,这是PS 3上的本地存储地址的首选大小。
It loads 18-bit unsigned values, which is the perfect size for local store addresses on the PS3.
仅在你需要模算术或需要很大很大的数字时,才使用无符号类型。
Use unsigned types only when you need modulo arithmetic or very very large Numbers.
在将有符号整型和无符号整型的和作为long 类型传递时就会出现问题。
The problem arises when passing the sum of signed and unsigned ints as long.
将字符指针和字符字节声明为无符号类型的,这样可以防止8位字符的符号扩展问题。
Declare character Pointers and character bytes as unsigned to avoid sign extension problems with 8-bit characters.
否则,如果有符号整型可以表示无符号整型的值时,公共类型是有符号类型。
Otherwise, if the signed integer type can represent all of the values of the unsigned type, the common type is the signed type.
如果看到关于强制转换到无符号格式的错误消息,不必惊慌,因为这实际上并不是错误行为。
If you see error messages regarding forcing the format to unsigned, don't panic as this is not actually an error condition.
这两个除法都会避免调用除法函数,另外,无符号的除法要比有符号的除法使用更少的指令。
Both divisions will avoid calling the division function and the unsigned division will take fewer instructions than the signed division.
每个分数需要转换成合适的无符号字节码(unsignedbyte - code)。
Each score should be translated to its appropriate unsigned byte-code.
现在我们让问题变得复杂点:你有一个二维的无符号整形数组,你想要找到具有最小和的那一行。
Now let's complicate the problem a bit: you have a two-dimensional array of unsigned integers, and you want to find the row with the smallest sum.
如果一个操作数是无符号整数,另外一个操作数是有符号整数,那么表达式的结果就是无符号整数。
If one of the operands is unsigned and the other is a signed int, the expression becomes an unsigned.
EXI引入了数据类型,比如二进制、布尔值、小数、浮点数、整数、无符号整数,以及日期-时间。
EXI introduces data types such as Binary, Boolean, Decimal, Float, Integer, Unsigned Integer, and Date-Time.
正如我们在无符号整型的例子中所看到的,你必须保持一定的警惕性以保证你的应用程序能够正常工作。
As we saw in the case of unsigned integers, there is a level of vigilance you must uphold to ensure your applications work as expected.
如果一个没有后缀的16进制的常量是32位的,并且其高位被置位了,那么它就可以作为无符号整型进行定义。
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.
如果我们能够确定其中的一个操作数为unsigned,那么使用无符号除法将会更好,因为它要比有符号除法快得多。
It will be better to use unsigned division by ensuring that one of the operands is unsigned, as this is faster than signed division.
这样,单个的无符号字节将决定一个预测值,而预测 6,005,940 个测试集中的打分需要 6,005,940 个字节。
Thus, a single unsigned byte would be dedicated for a predicted value, and predicting the 6,005,940 ratings of the test set would require 6,005,940 bytes.
C- 89数据类型(包括有符号和无符号)short、int、long、long long、float和double。
C-89 data types (include signed and unsigned) short, int, long, long long, float, and double.
不幸的是,标准允许实现使得所有整数类型都是同样的大小,这使一个有符号整型遇到一个无符号整型时的规则变得复杂了。
Unfortunately, the Standard permits an implementation to make all of the integer types the same size, and that complicates the rules for when a signed integer type meets an unsigned integer type.
不幸的是,标准允许实现使得所有整数类型都是同样的大小,这使一个有符号整型遇到一个无符号整型时的规则变得复杂了。
Unfortunately, the Standard permits an implementation to make all of the integer types the same size, and that complicates the rules for when a signed integer type meets an unsigned integer type.
应用推荐