...运算,当操作数类型为算术类型 或枚举类型时,编译程序将在进行算术运 算前按常规算术转换规则(usual arithmetic conversions)自动进行操作数类 型的隐式转换。P36.
基于8个网页-相关网页
... 使用者调整系统 user-tuned system 通常算术转换 usual arithmetic conversions 篡位 usurpation ...
基于8个网页-相关网页
C 语言规定了一类类型转换,称作“常用算术类型转换”(Usual arithmetic conversions),用于表达式求值的类型调整,常见的“低精度类型向高精度类型靠”的说法即出于此。
基于8个网页-相关网页
If both expressions are of arithmetic or enumeration types, the usual arithmetic conversions (covered in arithmetic conversions) are performed to convert them to a common type.
如果两个表达式类型不相同,但是都是算术或者是枚举类型。那么算术转换将他们转换成共同类型。
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.
就如你可能猜想的那样,整数转换优先级用于定义表达式求值的规则。这些规则叫做整型提升和常用算术转换。
应用推荐