Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/3/84; site talcott.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!tmb
From: tmb@talcott.UUCP (Thomas M. Breuel)
Newsgroups: net.lang.c
Subject: Re: Re: lint, pointers, 0 (what else?)
Message-ID: <304@talcott.UUCP>
Date: Thu, 28-Feb-85 23:04:51 EST
Article-I.D.: talcott.304
Posted: Thu Feb 28 23:04:51 1985
Date-Received: Tue, 5-Mar-85 14:11:56 EST
References: <8412@brl-tgr.ARPA> <282@talcott.UUCP>
Distribution: net
Organization: Harvard University
Lines: 17

> Ints are only guaranteed to cover the range -32767 to +32767.
> Not even long ints are guaranteed to have 34 bits of dynamic range.

Are they?

> I have written a lot of C code and NEVER have had any such
> word length dependencies (other than in explicitly system-dependent
> code that would not make sense to try to port anyway).
> I would be interested in why your code has them.

Well, you obviously have not written code that computes something
to a given degree of accuracy. An example of where I needed 32 bits
(and 16 bits just wouldn't do) was the simulation of a system of
40 non-linear differential equations (the program was written in
68000 assembly language, btw, not in 'C').

						Thomas.