Hi !

In a programming lesson we had the following :
a)"What's the highest value that can be stored within a 4-Byte float ?"

answer: (2^31)-1.

Why is it not 2^32 ?
Or why is it not (2^32)-1 ??



b)"What's the smallest value that can be stored within a 4-Byte float ?"

answer: -2^31

???


Can anybody help me with that ?
btw i know that 4 Byte are 32 Bit

Thanks
Tom