...
| Code Block | ||||
|---|---|---|---|---|
| ||||
const unsigned long mask = (11UL << ((sizeof(unsigned long) * CHAR_BIT) - 1)) unsigned long x; /* Initialize x */ x = (x ^ mask) + 1; |
...
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
const unsigned long mask = (11UL << ((sizeof(unsigned long) * CHAR_BIT) - 1)) unsigned long x; /* Initialize x */ x = (x ^ mask) + 1; |
...