
26 Oct
2009
26 Oct
'09
5:15 p.m.
Have you considered computing the values at compile time instead of using constants?
Sigh... that's the last ditch solution I guess, we could certainly do that for the usual case that long long is a 64-bit int, but really we *should* be using limits.h for these constants IMO. Besides, as it's someone else's code/library really, I'd really rather apply a trivial/quick fix if I can! John.