lkml.org 
[lkml]   [2005]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2.6.13-rc3] i386: clean up user_mode macros
Miles Bader <miles@lsi.nec.co.jp> wrote:
>
> Linus Torvalds <torvalds@osdl.org> writes:
> > Ask a hundred random C programmers what "!!x" means, versus what "x != 0"
> > means, and time their replies.
>
> I've always thought of "!!" as the "canonicalize boolean" operator...

Me too. Once you get used to it, it's just the "convert non-zero to 1"
operator.

But whatever.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-26 03:39    [W:0.058 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site