Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

64 bit integers on 32 bit systems

Name: Anonymous 2007-11-04 14:23

I doubt it's safe to assume that long long can hold it.

So, if i want to pretend i'm an expert programmer for a while, how do i solve this in a portable way?

Basically i'm after the method to use here because i'm a eurofag so english programming terms are a problem, i don't know what to search google for.

I saw something on wikipedia that well written programs can compile on both 32 and 64 bit systems but how do you accomplish that?

Name: Anonymous 2007-11-07 2:08

>>18
long doubles may be 128-bit, as may be long longs.

long long cat = 170141183460469231731687303715884105727;
printf("%lu",cat);

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List