联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Algorithm 算法作业Algorithm 算法作业

日期:2024-06-01 05:25

EGEC 540

Computer Arithmetic Structures

Fall 2023

Exercise 1

Due Monday, October 2, 11:45 PM

(Upload a single PDF or MS-Word document)

1. Add +5 and +6 in binary using the signed 1’s complement representation/format. Assume width of 4 bits. Comment on the result and give reasons wherever applicable

2. Repeat problem 1 with a width of 5 bits

3. Add −2 and −6 in binary using the signed 1’s complement representation/format. Assume width of 4 bits. Comment on the result and give reasons wherever applicable

4. Repeat problem 3 with a width of 5 bits

5. Add −2 and −6 in binary using the signed 2’s complement representation/format. Assume width of 4 bits. Comment on the result and give reasons wherever applicable

6. Repeat problem 5 with a width of 5 bits

7. Answer this question in the context of the IEEE 754 format for representing floating point numbers:

I. Give the value of the largest positive normalized number that can be represented in this format. Assume total width of 32 bits.

II. Give the value of the largest positive denormalized number that can be represented in this format. Assume total width of 32 bits.




版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp