尽管默认情况下枚举被存储为整数,但您可以指定要使用的整型基类型。
While enumerations are stored as integers by default, you can specify the integral base type to use.
在这种情况下,虽然年龄实际上是一个有效的整数,但转换仍然会失败,因为该值不是短整型的。
In this case, while age is actually a valid integer, conversion still fails because the value is not a short integer.
浮点数和小数不象整数一样“循规蹈矩”,不能假定浮点计算一定产生整型或精确的结果,虽然它们的确“应该”那样做。
Floating point and decimal Numbers are not nearly as well-behaved as integers, and you cannot assume that floating point calculations that "should" have integer or exact results actually do.
由于整型字段实际上是整数,您可以将它们重新定义为无条件的,这样挖掘就会工作了。
Because the numeric fields are really integers, you can re-type them as categorical and the mining will work.
当旧客户端发送int时,保持原有整型数的特性,它们既可以被作为字符串也可以作为整数(ints)发送。
When old clients send ints, the integer characters are still characters, and they can be sent as strings as well as ints.
表示整数、字符和布尔值的算术类型合称为整型。
The arithmetic types that represent integers, characters, and Boolean values are collectively referred to as the integral types.
就如你可能猜想的那样,整数转换优先级用于定义表达式求值的规则。这些规则叫做整型提升和常用算术转换。
As you probably suspect, the integer conversion rank is used to define the rules for expression evaluation. Those rules are named the integer promotions and the usual arithmetic conversions.
不幸的是,标准允许实现使得所有整数类型都是同样的大小,这使一个有符号整型遇到一个无符号整型时的规则变得复杂了。
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.
除非特别指出,整数均为标准二进制编码的无符号整型。
Unless mentioned otherwise, integers are encoded in standard binary encoding for unsigned integers.
这些模型形成具有0—1变量和一般整型变量的大规模整数规划问题。
These models are large scale integer programmings with 0-1 variables and general integer variables.
这些模型形成具有0—1变量和一般整型变量的大规模整数规划问题。
These models are large scale integer programmings with 0-1 variables and general integer variables.
应用推荐