|
|
|
|
|
by commandlinefan
2242 days ago
|
|
Wow, that's a much easier way to convert from decimal to floating point than I had ever seen. He doesn't mention why biased notation is used (i.e. why the exponent is stored as 127+E): it's used so that if you sort positive numbers as if they were integers, they'll still end up in the right order. |
|
Could you elaborate on this? Maybe an example? This sounds interesting but I'm failing to grasp it.