Related articles |
---|
Integers on 64-bit machines dwashington@gmx.net (Denis Washington) (2007-07-02) |
Re: Integers on 64-bit machines torbenm@app-3.diku.dk (2007-07-04) |
Re: Integers on 64-bit machines marcov@stack.nl (Marco van de Voort) (2007-07-04) |
Re: Integers on 64-bit machines emailamit@gmail.com (Amit Gupta) (2007-07-05) |
Re: Integers on 64-bit machines DrDiettrich1@aol.com (Hans-Peter Diettrich) (2007-07-05) |
Re: Integers on 64-bit machines anton@mips.complang.tuwien.ac.at (2007-07-05) |
Re: Integers on 64-bit machines mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2007-07-05) |
Re: Integers on 64-bit machines gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-07-05) |
Re: Integers on 64-bit machines bobduff@shell01.TheWorld.com (Robert A Duff) (2007-07-05) |
Re: Integers on 64-bit machines marcov@stack.nl (Marco van de Voort) (2007-07-06) |
[18 later articles] |
From: | Amit Gupta <emailamit@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Thu, 05 Jul 2007 00:31:06 -0000 |
Organization: | Compilers Central |
References: | 07-07-007 |
Keywords: | arithmetic, design |
Posted-Date: | 04 Jul 2007 20:37:42 EDT |
C++ STL has size_t which is the natural word size of the machine.
you can keep int8/16/32/64/128 types and then keep a type
int_machinetype to represent the natural word size of machine.
The question to ask is: (if you want int to be default 64) how many
times do we create objects which have an integral value greater than
what can be represented by 32 bits.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.