Binary math on Number objects limited to 32 bits?
问题 Consider the following code: var combined:Number = Number(4294967296) | Number(2403025069); var testLimit:Number = 6697992365; trace("Combined is:", combined, "should be", testLimit); Output is: Combined is: -1891942227 should be 6697992365 Why?! I thought Number datatypes can hold 64 bit integers (okay- really 52-bit, but the numbers above are nowhere near that limit) 回答1: From the documentation: | bitwise OR Operator Converts expression1 and expression2 to 32-bit unsigned integers , and