Summary: cast() operation not fully specified
--- Comment #0 from Lennart Blanco <cokebut...@gmail.com> 2011-08-30 22:41:57
The D2 language specification does not fully define the conversation performed
by cast() operation,
For example cast() between basic data types of different sizes and signess is
byte b = cast(int)a;
Casting pointers to basic data types is also not described.
I think the specification should define when the value is truncated, sign
extended or copied bit-by-bit, etc.
Maybe a reference to relevant C language specification would solve this issue.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------