From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,158dcf9334e764eb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-02 06:13:24 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: Distribution of subrange bounds Date: 2 Apr 2002 06:13:24 -0800 Organization: http://groups.google.com/ Message-ID: <4519e058.0204020613.2c106afe@posting.google.com> References: NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017756804 9733 127.0.0.1 (2 Apr 2002 14:13:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Apr 2002 14:13:24 GMT Xref: archiver1.google.com comp.lang.ada:21992 Date: 2002-04-02T14:13:24+00:00 List-Id: dmjones wrote in message news:... > I am trying to find papers on the integer subranges > used in programs. What are the distributions > of the lower and upper bounds? What is the > distribution of representable values, i.e., > the difference between the upper and lower bounds. > To what extent do developers use subranges, instead > of the basic integer type? > > Can anybody point me at any empirical analysis > of Ada or Pascal source code? I've never head of any such study. However, you can certianly go to http://www.adapower.com and analize a whole bunch of Ada sources yourself. Free Software projects may not be representative, but it should give you some idea. -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html