<div dir="ltr">And you can find more here: <a href="http://stackoverflow.com/questions/248693/double-negation-in-c-code">http://stackoverflow.com/questions/248693/double-negation-in-c-code</a><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 5:20 PM, Nav Kamal <span dir="ltr"><<a href="mailto:navkamal90@gmail.com" target="_blank">navkamal90@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">I cam across a line which goes like this :</p>
<p dir="ltr">#define likely(condition) (__builtin__ expect (!!(condition),1)) </p>
<p dir="ltr">Please somebody explain the double negation used in this macro.</p>
<p dir="ltr">Regards<br>
Navkamal Rakra<br>
</p>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>----------------------------------------------</div>Leônidas S. Barbosa (Kirotawa)<br><br>
</div>