previous | start | next

tmax

What is the largest 32 bit signed int? (I.e, what is tmax?)

In hex,

 Hex:     tmax = 0x7FFFFFF;
 Binary:  tmax = 0111 1111 1111 1111 1111 1111 1111 1111 
 Decimal: tmax = 2147483647 = 231 - 1
   

What is the hex representation of -2147483647?

The most negative signed integer has value -2147483648 (= -tmax - 1). It is called tmin

Note that because of overflow tmax + 1 is tmin.

What is ther hex respresentation of tmin?



previous | start | next