Article View: comp.std.c
Article #3718Re: Why "long long" doesn't work.
From: Markus Freericks
Date: Mon, 14 Aug 1995 09:55
Date: Mon, 14 Aug 1995 09:55
19 lines
1483 bytes
1483 bytes
In article <1995Aug13.144107.21353@dcs.warwick.ac.uk> A.Main@dcs.warwick.ac.uk (Zefram) writes: > <halasz@caip.rutgers.edu> wrote: > >Yes, it requires it, if I want to declare a variable of the shortest 'int' > >that can hold a numeral of so manie digits. No other feature suggested is > >useful, and therefore no "atleast:" is reallie needed. [..] > And why do you suggest that integer ranges be specified in terms of > numbers of digits? Bits make much more sense, as the value is actually > repesented as bits. [..] halasz surely meant to specify "numer of digits + base", no? typedef unsigned int (1:2) bit; typedef unsigned int (1:3) trit; typedef unsigned int (8:2) byte; typedef unsigned int (1:10) digit; -- Markus (hey, that would be useful on decimal and trinary computers!)
Technical Details
Message-ID:
<40n32v$fp@news.cs.tu-berlin.de>Path:
arc1-ca.pugleaf.net!cs.tu-berlin.de!mfxReferences:
<3v9s4l$9t5@caip.rutgers.edu> <3vbmks$25u@newsbf02.news.aol.com> <HBF.95Jul31180524@durin.uio.no> <3vk874$e0q@caip.rutgers.edu> <1995Aug13.144107.21353@dcs.warwick.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cs.tu-berlin.de!mfx From: mfx@cs.tu-berlin.de (Markus Freericks) Newsgroups: comp.std.c Subject: Re: Why "long long" doesn't work. Date: 14 Aug 1995 09:55:55 GMT Organization: TU Berlin Fachbereich Informatik Message-ID: <40n32v$fp@news.cs.tu-berlin.de> References: <3v9s4l$9t5@caip.rutgers.edu> <3vbmks$25u@newsbf02.news.aol.com> <HBF.95Jul31180524@durin.uio.no> <3vk874$e0q@caip.rutgers.edu> <1995Aug13.144107.21353@dcs.warwick.ac.uk> NNTP-Posting-Host: lenin.cs.tu-berlin.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-reply-to: A.Main@dcs.warwick.ac.uk's message of 13 Aug 1995 15:41:07 MET