Branch annotations

Nav Kamal navkamal90 at gmail.com
Mon Oct 21 15:20:36 EDT 2013


I cam across a line which goes like this :

#define likely(condition) (__builtin__ expect (!!(condition),1))

Please somebody explain the double negation used in this macro.

Regards
Navkamal Rakra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131021/8df7782e/attachment.html 


More information about the Kernelnewbies mailing list