Subject: Re: Documentation of abs(3), div(3) etc.
To: Martijn van Buul <pino+gmane_os_netbsd_devel_general@dohd.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-misc
Date: 02/09/2007 17:07:20
Martijn van Buul <pino@dohd.org> writes:
> My point was that the proposed change indicates is pointless, doesn't
> change a single opcode, and obviously indicates a lack of understanding.
>
> If you really think that
>
> signed int a;
> return (signed int) ( - (unsigned)a );
>
> is in any better than
>
> signed int a;
> return -a;
>
> then I kindly suggest you catch up with how C works.

Your comment may be technically correct, but it is also amazingly
impolitely phrased. I suggest that you apologize.

Perry