Question:
how many bits are used are used to represent the exponent in a 32 bit floating point number?
Tosh
2009-07-09 18:15:16 UTC
how many bits are used are used to represent the exponent in a 32 bit floating point number?
Three answers:
FLGator
2009-07-09 18:19:07 UTC
5

it is 2^5 = 32
?
2009-07-09 18:25:44 UTC
This questions depends upon both the time that you are talking about and the floating point standards. Most computers today which have a 32 bit word size for 1 byte use the IEEE-754 standard.



See http://en.wikipedia.org/wiki/Floating_point#History for some information and history on this.



See http://steve.hollasch.net/cgindex/coding/ieeefloat.html for the IEEE754 standard



Using that standard, the exponent uses 8 bits (as indicated in the chart) for a single precision floating number.
2016-05-23 12:08:44 UTC
It depends on what floating point notation you are using. IEEE is the most common, but there are others. Besides, this sounds like homework and you should do your own homework.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...