"Unsigned-related bugs never occur in real code."

Rainer Deyke rainerd at eldwood.com
Thu Jan 21 09:57:46 PST 2010


Don wrote:
> bearophile wrote:
>> And abs() of an unsigned number probably needs a compilation warning.
> 
> Not a warning, it's always an error.

I can imagine abs(x) being useful in a generic function where x can be
either signed or unsigned.


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list