double exclamation mark meaning ?
devendra.aaru
devendra.aaru at gmail.com
Thu Dec 6 08:54:45 EST 2012
On Thu, Dec 6, 2012 at 4:50 AM, Shraddha Kamat <sh2008ka at gmail.com> wrote:
> Hi,
>
> # define likely(x) __builtin_expect(!!(x), 1)
> # define unlikely(x) __builtin_expect(!!(x), 0)
>
> I see these !! in the above expressions. Please explain me the
> meaning of those double exclamations. What is their significance ?
>
this is c question, right, google is your friend
> -- Shraddha
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
More information about the Kernelnewbies
mailing list