Skip to content

Commit bf5e775

Browse files
author
Wei Li
committed
modify tmin
1 parent 788c45a commit bf5e775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datalab-handout/bits.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ int bitAnd(int x, int y) {
150150
* Rating: 1
151151
*/
152152
int tmin(void) {
153-
return (~0)<<31;
153+
return 1<<31;
154154
}
155155
/*
156156
* negate - return -x

0 commit comments

Comments
 (0)