[Issue 17417] Deprecate signed integer promotions in bitwise operations

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 22 06:35:03 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17417

uplink.coder at googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uplink.coder at googlemail.com

--- Comment #1 from uplink.coder at googlemail.com ---
There is a good reason to do the promotion.
The generated machine-code is more efficient in many cases.

Types smaller the uint should only be used for storage, not for operations :)

--


More information about the Digitalmars-d-bugs mailing list