Mask your result with a bitwise and: $result &= 0xffffffffffffffff;. You may need to do this after each operation or just at the end - depends what you are doing.
In reply to Re^3: The 16 digit number dilemma.
by GrandFather
in thread The 16 digit number dilemma.
by docster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |