This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Float is supporting Floating point representation i.e some part of memory assigned to float is used to store mantisaa and other for exponent.Taking an example not according to exact represntation but would give u an idea:
2500 = 0.25 * 10 power 4 i will store it as 25 in one part and 4 in some other part
so using 32 bit no we can store a wide range of no. But we do have a problem here i.e Loss of Precesion .. Yaa I agree loss of precision is there because mantisaa part is of fixed size.
I think this would have cleared ur doubt ........ else i am always there to help u out we can discuss more
SCJP <br />SCWCD <br />SCBCD <br />SCEA Preparing
Joined: Mar 18, 2005
Thanks for your answer. Well, I do think that there are much behind this. However this enough for just having an idea.