Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!deimos.cis.ksu.edu!mccall.com!tp From: tp@mccall.com (Terry Poot) Newsgroups: comp.lang.c Subject: Re: int32 et al. (was: Style guides and portabili Message-ID: <1991Jan18.110141@mccall.com> Date: 18 Jan 91 17:01:41 GMT References: <26@christmas.UUCP> <867@TALOS.UUCP> Reply-To: tp@mccall.com (Terry Poot) Distribution: comp Organization: The McCall Pattern Co., Manhattan, KS, USA Lines: 14 In article <867@TALOS.UUCP>, jerry@TALOS.UUCP (Jerry Gitomer) writes: >:Requirements: Use: >: 1 <= bits <= 8, save space char >: 9 <= bits <= 16, save space short >: 1 <= bits <= 16, save time int >:17 <= bits <= 32 long That's the way I do it. Note, however, that if you are dealing with signed numbers, you MUST specify signed char, since the machine may implement a char as unsigned. -- Terry Poot The McCall Pattern Company (uucp: ...!rutgers!ksuvax1!mccall!tp) 615 McCall Road (800)255-2762, in KS (913)776-4041 Manhattan, KS 66502, USA