它还有助于确定源和目标之间的关系类型,比如聚合、转换和算术运算。
It also helps in types of relationship between source and target, such as aggregations, transformations, and arithmetic operations.
PHP还有用于算术运算的自动类型转换。
PHP also has automatic type conversion for arithmetic operations.
注意,该函数使用了我们编写的BIT _ OR UDF对类似于位数据类型的参数进行运算。
Please note that this function utilizes BIT_OR UDF we wrote to operate on bit-like data type parameters.
It expected arithmetic types.
这儿应该是运算类型。
It caught the error, because it checked the types of the operands before it applied things and it says, I'm going to stop.
它捕捉到了错误,因为它在,进行运算之前检查了运算对象的类型,然后Python意识到,应该停止了。
Because in doing that, Python would then have a value that it could pass on into some other part of a computation, and if it wasn't what I wanted, I might be a long ways downstream in the computation before I actually hit some result that makes no sense.
因为如果这样做的话,Python会将,输入的值传递到下面的,一些运算中去,如果这个值的类型不是我想要的,我可能会在得到,一个毫无意义的结果之前,经历一个很长时间的,计算过程。
应用推荐