There's a way to perform 64 bit arithmetic operation on 32 bit machine without explicit programing it; I mean a switch for compiler that enable some macro. I find out that what i declared long long cant be used to perform arithmetic operation like 63 shift or bitwise operation. The result is not what I expected. Thanks, Mircea