Bài giảng Kiến trúc máy tính - Tuần 9: Phép toán số học trên máy tính (tiếp theo) - Trường Đại học Công nghệ thông tin

(Bản scan) Phép nhân trên số thực dấu chấm động Step 3. Now we check the product to make sure it is normalized, and then check the exponent for overflow or underflow. The product is already normalized and, since 127 > -3 > -126, there is no overflow or underflow. (Using the biased representation, 254 > 124 > 1, so the exponent fits.) Step 4. Rounding the product makes no change: 1.110, X2Step 5. Since the signs of the original operands differ, make the sign of the product negative. Hence, the product is -1.110, wo * 2-3 Converting to decimal to check our results: -1.110,wo * 2-3 =-0.001110two =-0.00111twe =-7/2° ten = -7/32ten =-0.21875ten The product of 0.5ten and – 0.4375ten is indeed – 0.21875ten

pptx33 trang | Chia sẻ: thucuc2301 | Lượt xem: 563 | Lượt tải: 2download
Bạn đang xem trước 20 trang tài liệu Bài giảng Kiến trúc máy tính - Tuần 9: Phép toán số học trên máy tính (tiếp theo) - Trường Đại học Công nghệ thông tin, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên

Các file đính kèm theo tài liệu này:

  • pptx_hoctap_suctremmt_com_tuan9_cac_phep_toan_so_hoc_tiep_theo_6529_2051731.pptx
Tài liệu liên quan