Ioannis Vranos <> writes:
> Is there any mentioning in the standard about the number of usable
> bits of the various built in types, apart from char/signed
> char/unsigned char types? Or only about the minimum value ranges of
> them?
I am not sure exactly what you are after. If you want the number
of bits in a given type, including any sign and padding bits,
then CHAR_BIT*sizeof(type) will give you the answer. If you want
the number of value bits, then you can figure it out from the
type's range, although the calculation for that is not as simple.
--
char a[]="\n .CJacehknorstu";int putchar(int);int main(void){unsigned long b[]
={0x67dffdff,0x9aa9aa6a,0xa77ffda9,0x7da6aa6a,0xa6 7f6aaa,0xaa9aa9f6,0x11f6},*p
=b,i=24;for(;p+=!*p;*p/=4)switch(0[p]&3)case 0:{return 0;for(p--;i--;i--)case+
2:{i++;if(i)break;else default:continue;if(0)case 1

utchar(a[i&15]);break;}}}