I don't know what "unnormalized" means, but here's how to write it as a normalized floating pt. number: Since the smallest pwer of 2 bigger than the given number is 32, write it as
21.426304 = 32*0.669572, so the exponent is 5 and the significand is .669572. You've got to write this last number to base 2.
.669572 = a1/2+a2/4+a3/8+... Multiply both sides by 2 and take integer parts. You conclude a1=1. Now procede at your own risk.
murschech
Junior Poster in Training
60 posts since Dec 2004
Reputation Points: 21
Solved Threads: 1