Article View: comp.std.c++
Article #3016>>long long exists?
From: Eugene Radchenko
Date: Tue, 16 Jan 1996 10:58
Date: Tue, 16 Jan 1996 10:58
41 lines
2644 bytes
2644 bytes
Hello!
James Kanze <kanze@lts.sel.alcatel.de> writes
>In article <4ctcgo$fmr@lyman.pppl.gov> Haim Kreitman
><haim_kreitman@mail.stil.scitex.com> writes:
>
>|> I saw in some places type 'long long'.
>|> Is this type exist in ANSI-DRAFT ?
>
>No. There is some discussion in the C standards committee of adding
>it, or even something more elaborate. If you want to get more
>information than you can possibly read, just post to comp.std.c that C
>absolutly needs a `long long' type.
But C and C++ are different languages (And my postmaster is not happy with
my 30K/day new articles list even without my subscription to c.s.c). Maybe
someone will be so kind as to review the arguments against it (I could not
invent one). It would be very nice to have a type with a guaranteed range
(I think that was the motivation of the grumbles here about __int64 some
time ago). It may be needed even on 32-bit computers (how do you address
sectors (and file positions) on the 9G Barracuda drive, for instance?).
Best regards Genie
PS. What about standard arbitrary precision integer class template
wint_t<size_t bytes>, with the specialization using hardware long long if
available? BTW, the constantly recurring question - is there the arbitrary
precision int class somewhere?
[[Moderator's note: replies to that last question should be directed
to the poster and/or comp.lang.c++[.moderated], please. -fjh.]]
--
--------------------------------------------------------------------
Eugene V. Radchenko Research associate, Computer Chemistry
E-mail: eugene@qsar.chem.msu.su Fax: +7-(095)939-0290
Ordinary mail: Chair of Organic Chemistry, Department of Chemistry,
Moscow State University, 119899 Moscow, Russia
***************** Disappearances are deceptive *******************
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<ABxJr-m8f0@qsar.chem.msu.su>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backShow Full Headers
Complete Article Headers
From: "Eugene Radchenko" <eugene@qsar.chem.msu.su> Message-ID: <ABxJr-m8f0@qsar.chem.msu.su> X-Original-Date: Tue, 16 Jan 1996 10:34:19 +0300 (MSK) Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 16 Jan 96 10:58:33 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ Organization: Lab. of Org.Synth., MSU X-Mailer: dMail [Demos Mail for DOS v1.23] Subject: >>long long exists? X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMPuFBOEDnX0m9pzZAQGDcgGAlpmzhT7nj9LIMgjRvMSnrxgzwLJT4sWo N9xrrfG6viSjt+DLBVHkH8Xo23l0GEFu =fkqF