can anyone explain me the all precison and exponent, significant bits which double can handle ? i am not getting it. wiki says it has 53 bits significant bits and 11 exponent. am a little bit confused. can anyone explain me ? (in their own way) thanks alot. although i have used double alot but now , come up with some problem. thanks.
nitin1 15 Master Poster
Recommended Answers
Jump to PostThere is a pretty good paper here:
http://docs.sun.com/source/806-3568/ncg_goldberg.html
It has been around for a long time and is pretty thorough.
There is also a lot of good information about dealing with floating point numbers on Bruce Dawson's blog:
Jump to Post@nitin1:
remember everything is in Base2, binary. so 2^11, the exponent, is a value between -1022 and +1023, but that is still the exponent of a base2 number, i.e. 2^-1022 to 2^1023 as a range, so in base10 it gives a total decimal range of 10^-383 to 10^384.
Similarly, 52 …
All 5 Replies
ddanbe 2,724 Professional Procrastinator Featured Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
nitin1 15 Master Poster
DavidB 44 Junior Poster
jephthah 1,888 Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.