From: utzoo!decvax!cca!mw.uci@Rand-Relay@sri-unix Newsgroups: net.unix-wizards Title: C compiler bug? Article-I.D.: sri-unix.4027 Posted: Mon Oct 25 01:16:59 1982 Received: Wed Oct 27 06:37:20 1982 From: Mark Wadsworth Date: 21 Oct 82 0:19:48-PST (Thu) main() { printf("%D\n",60L*60L*24L*((1970L-1900L)*365L + 1970L/4L - 1900L/4L)); } This program, surprisingly enough, prints out 0. The expression evaluates to 0. Is anyone aware of any particular reason for this absurdity? John Woods The value is too big for 32 bits. On my system (Berkeley Unix, VAX) it prints -2085978496