Re: Re Likely and Unlikely Macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gottcha ... Thanks guys :)

On 10 October 2011 21:22, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
> Hi :)
>
> On Mon, Oct 10, 2011 at 13:19, Asutosh Das <das.asutosh@xxxxxxxxx> wrote:
>> I cannot understand the intention behind !!(x).
>> Please can you let me know why !!(x) is required here.
>
> Assume x is 100, so !x is 0, right? Further !!x is ! ( !x), correct?
> Then we have ! (0) which is 1.
>
> Thus, it's quick practical way to make any value to be just 0 or 1,
> "true" or "false"
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>



-- 
Thank you,
Warm Regards,
Asutosh Das
# (91) 9049 000 969

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux