CS-341 Homework 4

Remember, homeworks are graded, so you must do your own work. If you do not follow this policy, you will be given a failing grade in the course, and risk college disciplinary action.

Due Date: Friday, October 23.

Assignment: Convert the decimal numbers 123.456 and 654.321 to IEEE-754 single precision. Answer in hexadecimal. Show all work, and check your results using the [ IEEE-754 Decimal to Floating-Point  ] interactive web page.

Working in binary, add the two IEEE-754 numbers, and show the result in hexadecimal. Check your answer by using the [ IEEE-754 32-bit Floating-Point to Decimal ] interactive web page to be sure the result is equal to 777.777.