unsigned long long

Hi all,

I use some “unsigned long long” values for 64bits operations. It seems that NETOS 7.1 does not allow the use of this kind of values, and consider them as “unsigned long”.

Do you know how to activate them ?

Thanks,

Paul

GCC supports “unsigned long long”. Read the GCC compiler manual page 154.

Hi egawtry,
I understood my problem, it comed from a constant value, not from the variable. I had to write:

Fractions64 *= 0x100000000LL;

instead of

Fractions64 *= 0x100000000;

Thanks,
Paul

Maybe you want:

Fractions64 *= 0x100000000ULL;

if you want unsigned.

-Erik

Yes, it works too. Thanks,
Paul