运算很简单,但前提是记下代码,否则无法完整地在头脑中使用这种方法。
The math is pretty easy, but unless you memorize the codes, you won't be able to perform the entire technique in your head.
注意,在本例中,sum必须被初始化为一个显式的浮点值;否则,所有后续计算都将使用整数运算计算。
Note that, in this example, sum must be initialized to an explicit floating-point value; otherwise, all the subsequent computations will be done using integer arithmetic.
地震时间剖面的数字偏移程序不但要有较好的偏移效果,还要求运算速度快,否则其应用要受到限制。
For the digital migration program of time section, it is required not only the better results but also the high speed of calculation, or its application will surely be restricted.
C4738是警告指派、转型、传递引数,或其他运算的结果可能需要进行舍入,否则该运算可能会耗尽暂存器而需要使用记忆体(溢出)。
C4738 warns that the result of an assignment, cast, passed argument, or other operation may need to be rounded or that the operation ran out of registers and needed to use memory (spilling).
除非情况如此,否则布林逻辑运算子就无法抽取栏位中所储存的个别列举值。
Unless this is so, the Boolean logical operators will not be able to extract the individual enumeration values that are stored in the field.
不包含式按位异或意味着,如果两个运算数相应比特位不同,其结果为1,否则结果为0。下表显示异或运算结果。
Exclusive or means that if the two operand bits are different the result is 1, otherwise the result is 0. The following table shows the results of an exclusive or operation.
不包含式按位异或意味着,如果两个运算数相应比特位不同,其结果为1,否则结果为0。下表显示异或运算结果。
Exclusive or means that if the two operand bits are different the result is 1, otherwise the result is 0. The following table shows the results of an exclusive or operation.
应用推荐