mercredi 7 décembre 2016

Get a sequence bits from a unsigned long c

I am wondering if anyone can help me I am just learning c and I apologize in advance if I am using the incorrect terms. I am trying to implement a an algorithm but I am having a problem at one particular part where there is a check compare a sequence of bits.

The algorithm states this check.

algorithm if check

But cant seem to find an example how to implement the if statement part.

        unsigned long zprime   = 2501328903
        unsigned long q0XORq1  = 3736417748;

        if ( q0XORq1 == zprime )
        {

        }

Aucun commentaire:

Enregistrer un commentaire