<p>Question: Is there an easy way (library function) to perform a bitwise AND or OR on numbers larger than 32-bit in ActionScript?  </p>

<p>From the docs:
"Bitwise operators internally manipulate floating-point numbers to change them into 32-bit integers. The exact operation performed depends on the operator, but all bitwise operations evaluate each binary digit (bit) of the 32-bit integer individually to compute a new value."</p>

<p>Bummer...</p>

<p>I can't use the &amp; or | ops - does AS expose a library function to do this for Numbers?</p>

<p>Specifics: I'm porting a bunch of java to flex and the java maintains a bunch of 'long' masks.  I know that I can split the Java masks into two ints on the flex side.  Since all of my mask manip is localized this won't be too painful.  However, I'd like to keep the port as 1-1 as possible.</p>

<p>Any suggestions?
Thanks!</p>

According to
http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_11.html
, there are no 64-bit integers (signed or unsigned)...only 32-bit.
The Number type, as you mentioned above, has a 53-bit mantissa, which is too short for you.
I searched for a BigNum FLEX implementation, but couldn't find one.
I'm guessing that you will have to simulate this with either an array of ints or a class with a high and low int.
Good Luck,
Randy Stegbauer