0x7fffffff mean

Today saw a request sent to the back-end, pass a parameter 0x7fffffff, was surprised
then search 0x7fffffff
7FFFFFFF is eight hexadecimal
for each hex on behalf of four bit
8✖4bit 4Byte = 32bit =
f binary is : bits of 1111,7 0111
int type bit 4Byte length
from the left, the first is the sign bit, 0 stands for positive, 1 for negative
0x7fffffff int represents the maximum
article reproduced from: HTTPS: //www.cnblogs. com / twodoge / p / 11362292.html

Guess you like

Origin www.cnblogs.com/smart-girl/p/11794055.html