justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Can you explain why a bias is used in the exponent bits of IEEE754 floating point encoding?
Asked by Will (70.173.80.x) on February 17 2014, 11:20pm
Reply on February 18 2014, 2:04am (edited at February 18 2014, 2:05am):
    Here is a pretty good explanation of the format of floating point numbers. As to the question "Why?", hard to say -- perhaps early implementations found that it required less gates to use a bias rather than 2's complement? Also, since the extreme exponent values can signify infinity/NaN/zero/etc, perhaps 2's complement would make those bit patterns more work to detect. I'm really guessing here.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS