http://d.puremagic.com/issues/show_bug.cgi?id=8666


Andrei Alexandrescu <and...@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |and...@metalanguage.com


--- Comment #1 from Andrei Alexandrescu <and...@metalanguage.com> 2012-09-16 
03:41:26 PDT ---
This is a known anomaly. I assume you are proposing that returning long is the
right way to go about it, but it really isn't.

One possibility would be to return uint for int and smaller, and ulong for
long. That would be a principled way to go about it, but would break existing
code in rather subtle ways.

We could add uabs to return an unsigned type.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to