9 Many binary operators that expect operands of arithmetic or enumera- tion type cause conversions and yield result types in a similar way. The purpose is to yield a common type, which is also the type of the result. This pattern is called the usual arithmetic conversions, which are defined as follows: --If either operand is of type long double, the other shall be con- verted to long double. --Otherwise, if either operand is double, the other shall be converted
【在 t****t 的大作中提到】 : 9 Many binary operators that expect operands of arithmetic or enumera- : tion type cause conversions and yield result types in a similar way. : The purpose is to yield a common type, which is also the type of the : result. This pattern is called the usual arithmetic conversions, : which are defined as follows: : --If either operand is of type long double, the other shall be con- : verted to long double. : --Otherwise, if either operand is double, the other shall be converted :