type declaration

%u kelong_2000 at yahoo.com
Mon Jan 1 13:27:16 PST 2007


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




More information about the Digitalmars-d mailing list