from this article:
the number 5.125 (binary 101.001) why? 101 is 5 , but how are decimal places converted?
Also from that article – a bias is added to the actual exponent e.
What is bias? What is the purpose of it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See the Floating-Point guide for a detailed explanation of how binary fractions work.
A biased exponent is used because it allows floating-point numbers to compared for value exactly like integer numbers, i.e. if a bit pattern A is greater than a bit pattern B when interpreted as integer, the same is always true if you interpret the patters as floating-point numbers.