qfyzy比较爱动脑筋,不过有些东西未免有些想当然,缺乏严谨精神。
1.0用IEEE 754标准表示为:3F F0 00 00 00 00 00 00
看看我7楼反汇编后给printf压栈传递参数时传递的是什么?
下面是权威的解释:
The result types of arithmetic operators are determined by a set of rules known as "the usual arithmetic conversions".The overall aim is to
produce a result of the "largest"
operand type.For example, if a binary operator has a floating-point operand, the computation is done using
floating-point arithmetic and the result is afloating-point value.