Newsgroups: comp.lang.c Path: utzoo!utgpu!watserv1!watmath!datangua From: datangua@watmath.waterloo.edu (David Tanguay) Subject: Re: int32 et al. Organization: University of Waterloo Date: Wed, 23 Jan 91 12:03:27 GMT Message-ID: <1991Jan23.120327.17759@watmath.waterloo.edu> References: <1991Jan19.185101.27554@odi.com> <14905@smoke.brl.mil> <1991Jan21.135216.23447@odi.com> Lines: 13 In article <1991Jan21.135216.23447@odi.com> benson@odi.com (Benson I. Margulies) writes: |>But you didn't address the problems I pointed out, for example the |>complete lack of ANY type whose size if precisely 32 bits in some |>implementations. |Well, if we ever hit such a beast, there's always |typedef char [4] int32; Which still isn't (necessarily) 32 bits. There is no guarantee that a char is exactly 8 bits (36 bit machines use 9 bit chars, and I wouldn't be surprised to see a 16 bit char on a 16 bit word machine like the Honeywell DPS-6). -- David Tanguay Software Development Group, University of Waterloo