http://bugzilla.gdcproject.org/show_bug.cgi?id=171
Iain Buclaw changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
http://bugzilla.gdcproject.org/show_bug.cgi?id=171
Iain Buclaw changed:
What|Removed |Added
Status|NEW |ASSIGNED
--
You are receiving this mail b
http://bugzilla.gdcproject.org/show_bug.cgi?id=171
--- Comment #1 from Iain Buclaw ---
Problem is that in the operation:
a = a >> 1;
'a' is promoted to an unsigned integer for normal operations before the final
result being downcasted back.
So we get the following sequence.
a => -1
http://bugzilla.gdcproject.org/show_bug.cgi?id=171
Bug ID: 171
Summary: >>>= broken with short integers
Product: GDC
Version: development
Hardware: All
OS: All
Status: NEW
Severity: normal
Priori