[Issue 13929] nothrow @nogc gcd with signed integers

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Mar 31 22:13:18 PDT 2015


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

weaselcat <r9shackleford at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r9shackleford at gmail.com

--- Comment #1 from weaselcat <r9shackleford at gmail.com> ---
gcd(a,b) = gcd(|a|,|b|) = gcd(|a|,b) = gcd(a,|b|) - is there a technical reason
we reject negative instead of using abs on possible negative(i.e, T.min < 0)?

--


More information about the Digitalmars-d-bugs mailing list