Let's assume a 32 bits float variable, we put the integer part in the earlier 24 bits including the sign, then put the fraction in the later 8 bits. I am from China, not good at English, if you can not understand my words, I have to say sorry for it. ----- Original Message ----- From: anubhav_agrawal16 To: [email protected] Sent: Thursday, October 18, 2007 10:32 PM Subject: [c-prog] internal memory allocation of floating type...
Hi champs of programming generally range of any datatype is directly related to its size(no of bits), e.g size of int is 2bytes(in tc windows) or 2* 8=16 bits range of unsigned integer is 2^(16-1)=65536 or incl 0 it is 0 to 65535 same happens with char,long but not happens wid float or double that is its memory allocation is different so my question is >>>>> how the memory is allocated in floating type variable [Non-text portions of this message have been removed]
