type declaration
Thomas Kuehne
thomas-dloop at kuehne.cn
Mon Jan 1 13:52:10 PST 2007
%u schrieb am 2007-01-01:
> Why use type declarations like this (below) and instead use human readable
> language to declare what it really is...
>
> The use of "double", "short" and "long" is CUMBERSOME!
> Especially when switching between Processors Architectures.
>
> This is trying to be a new language... make it NEW!
> Or at least make these key words SYNONYMOUS!
>
> D Meaning New Key Word
> byte signed 8 bits int8
> short signed 16 bits int16
> int signed 32 bits int32
> long signed 64 bits int64
> cent signed 128 bits int128
> float 32 bit floating float32
> double 64 bit floating float64
Please have a look at the std.stdint module.
Thomas
More information about the Digitalmars-d
mailing list