[uClinux-dev] probelm with BIG numbers

Roope Anttinen roope.anttinen at indagon.com
Wed Mar 5 10:15:19 EST 2003


Hi,

some code here...

unsigned long long int foo = 83;
printf("16: %llu", foo<<16);
printf("24: %llu", foo<<24);
printf("30: %llu", foo<<30);
printf("32: %llu", foo<<32);

that results to:
16: 5439488
24: 1392508928
30: 3221225472
32: 0

krhm... what's happening here???
architecture is uCdimm 63vz328

/Roope







More information about the uClinux-dev mailing list