Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!teddy!panda!talcott!harvard!seismo!brl-tgr!tgr!ron@BRL-TGR From: Ron NatalieNewsgroups: net.unix-wizards Subject: Re: integer types, sys calls, and stdio Message-ID: <7320@brl-tgr.ARPA> Date: Mon, 14-Jan-85 16:12:14 EST Article-I.D.: brl-tgr.7320 Posted: Mon Jan 14 16:12:14 1985 Date-Received: Sun, 20-Jan-85 01:42:44 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 23 Yes we had the same problem with the denelcor HEP. It has an inate 64 bit wordsize which you'd like to be an int. Long is also equal to int since the machine doesn't bother with anything great than 64 bits of integer (and since long cant be smaller than int). We picked short to be 16 bits for compatibility and defined (gack) a mystery type called _int32 for people who really want the 32 bit things. _int32 is frequently typedef'd to "medium." I wanted to call the short longs. With eight byte ints you can make the optimzation that uid = username ^ 'root\0\0\0\0' Eh? -Ron Speaking of ANSI standard sizes...there Fortran compiler had to be reworked because according to the spec, DOUBLE must occcupy EXACTLY twice as much space as REAL. There is also a hard relationship between INTEGER and REAL. Yuch. -Ron