看板 Grad-ProbAsk 關於我們 聯絡資訊
有兩個選項有疑問,麻煩大家幫忙解答了! 1. The smallest positive number that can be represented in single precision f loating point is 2^-126 (答案說是錯的,難道最小的是零嗎!?) 2. page reference sequence is 1 4 3 2 1 3 3 3 5 ,有 4 個physical frames。 若使用 least frequently used algorithm, 則最後frame 裡面是1 3 4 5 (答案說是對的。但是使用LFU若遇到使用次數相同的時候,不是就依照FIFO嗎?我做出 來是1 5 3 2) 先謝謝大家了! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 115.43.67.205 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1422343300.A.84F.html
hbkhhhdx2006: 第一個話應該是2^(-126) * 10^(-23)吧 01/27 15:43
qoozxc789: 1.要考慮denormalized number吧 01/27 21:43
qoozxc789: 2.感覺好像也是1 5 3 2 01/27 21:47
winnie48: 謝謝大家! 01/28 10:34