128 bit signed and unsigned integer types

Jarrett Billingsley jarrett.billingsley at gmail.com
Mon Dec 29 15:29:41 PST 2008


On Mon, Dec 29, 2008 at 6:28 PM, Jarrett Billingsley
<jarrett.billingsley at gmail.com> wrote:
> On Mon, Dec 29, 2008 at 5:22 PM, Yigal Chripun <yigal100 at gmail.com> wrote:
>>
>> Also, I wonder what's the usage percentage for these keywords. how
>> frequently do people actually use short/long instead of just int?
>>
>
> I'd guess there are three use cases for non-native-word-sized ints:
>
> - Poor man's ranged int type (unsigned ints fall in that category too)

Er, I should say that unsigned ints _can_ be used for that purpose.
There are certainly plenty of perfectly-justifiable uses for them.



More information about the Digitalmars-d mailing list