hazelchaz: (gif)
Who knows what this does?

int mysteryfunction(int a, int b)
{
    int newa, newb;

    while (b != 0) {
        newa = a ^ b; /* xor */
        newb = (a & b) << 1; /* and, shift left */
        a=newa; b=newb;
    }
    return a;
}

Profile

hazelchaz: (Default)
Chaz Boston Baden

June 2019

S M T W T F S
      1
2345678
9101112131415
16171819202122
23 242526272829
30      

Syndicate

RSS Atom

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 5th, 2025 02:30 pm
Powered by Dreamwidth Studios