Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!paperboy!osf.org!dbrooks From: dbrooks@osf.org (David Brooks) Newsgroups: comp.lang.c Subject: Re: Style guides and portability Message-ID: <17974@paperboy.OSF.ORG> Date: 14 Jan 91 18:38:59 GMT References: <1163@tredysvr.Tredydev.Unisys.COM> <14824@smoke.brl.mil> <14848@smoke.brl.mil> Sender: news@OSF.ORG Reply-To: dbrooks@osf.org (David Brooks) Organization: Open Software Foundation Lines: 15 In article <14848@smoke.brl.mil>, gwyn@smoke.brl.mil (Doug Gwyn) writes: |> In article bevan@cs.man.ac.uk (Stephen J Bevan) writes: |> >What about the cases where it is a requirement that a particular int |> >MUST be able to hold 32 bit numbers. |> |> The application should use "long" not "int" for such variables. Does anyone know any implementations where: - int is 32 bits - long is 64 bits - there's no 64-bit support in hardware, and long arithmetic is inefficient? -- David Brooks dbrooks@osf.org Systems Engineering, OSF uunet!osf.org!dbrooks "Home is the bright cave under the hat." -- Lance Morrow