Topic: >>long long exists?


Author: "Eugene Radchenko" <eugene@qsar.chem.msu.su>
Date: 1996/01/16
Raw View
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. ]