Problems with ran.h


balashiha
02-28-2008, 05:02 PM
Hello,

My Borland Builder compiler complains about the third line in ran.h

I commented the error out in the snippet below. There are also several warnings on possible overflow and conversion losing significant digits. Does it have to do with 32 bit vs 64 bit machines? I am in a 32 bit environment.

Thanks,
Ilia

struct Ran {
Ullong u,v,w;
//The next line is problematic: ") expected".
Ran(Ullong j) : v(4101842887655102017LL), w(1) {
u = j ^ v; int64();
v = u; int64();
w = v; int64();
}