update datalab
This commit is contained in:
parent
c39cad30b4
commit
d16c81c57c
@ -163,7 +163,7 @@ int tmin(void) {
|
|||||||
* Rating: 1
|
* Rating: 1
|
||||||
*/
|
*/
|
||||||
int isTmax(int x) {
|
int isTmax(int x) {
|
||||||
return !((x + 1) ^ ~x) & !!(x + 1);
|
return !(((x + 1) ^ ~x) | !(x + 1));
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* allOddBits - return 1 if all odd-numbered bits in word set to 1
|
* allOddBits - return 1 if all odd-numbered bits in word set to 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user