Actionscript 3 是"^&引用;数学的简写。pow()?
Actionscript 3 是"^&引用;数学的简写。pow()?,actionscript-3,actionscript,Actionscript 3,Actionscript,4^2和Math.pow(4,2)之间是否存在差异在Actionscript 3中 4^2和Math.pow(4,2)之间是否存在差异 是的,^是二进制运算符,而Math.pow(x,y)将x提升为y幂 410 ^ 210 == 610 // 01002 xor 00102 == 01102 Math.pow(4, 2) == 16 // 42 == 16
4^2
和Math.pow(4,2)之间是否存在差异代码>在Actionscript 3中
4^2
和Math.pow(4,2)之间是否存在差异代码>
是的,^
是二进制运算符,而Math.pow(x,y)
将x
提升为y
幂
410 ^ 210 == 610 // 01002 xor 00102 == 01102
Math.pow(4, 2) == 16 // 42 == 16