I was looking at the floating point library (floatlib.c) in gcc-2.2.2 and noticed
that the bias (called EXCESS and EXCESSD in gcc's floatlib.c) for single and double precision floating number exponents are 126 and 1022, respectively. The IEEE floating point standard says they should be 127 and 1023. Why is that?
I know this is a stupid question and there must be a very simple answer to it since it can't be a typo (otherwise it would have been caught a long time ago). But I can figure it out and would really appreciate some help on the reason behind
it.
Since this is such a dumb question, you can reply to me at: