Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: int divided by unsigned. Message-ID: <1989Jul12.162749.839@utzoo.uucp> Organization: U of Toronto Zoology References: <1989Jul11.215930.9042@jarvis.csri.toronto.edu> <13983@lanl.gov> Date: Wed, 12 Jul 89 16:27:49 GMT In article <13983@lanl.gov> jlg@lanl.gov (Jim Giles) writes: >...distinct data types should differ from each other in predictable >ways... They do. Barring truly peculiar machines, long is longer than short, and int is whichever of the two is more efficient. (The latter is *important*, because for many housekeeping variables you don't care much about the range but you want speed.) -- $10 million equals 18 PM | Henry Spencer at U of Toronto Zoology (Pentagon-Minutes). -Tom Neff | uunet!attcan!utzoo!henry henry@zoo.toronto.edu