On Saturday, February 25, 2012 2:04pm, "Mircea Toma" <mmt200575@...> said:
> 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.
In what language? Have you tried using the 64-bit data types? For instance long long int and unsigned long long int? Those work for me.
http://www.thomasstover.com
|