[運算] epsilon已回收
Try to find out the largest positive computer number epsilon_1
and the smallest positive computer number epsilon_2
such that 1+epsilon_1 ≦ 1 and epsilon_2 ≦ 0
eps = 1;
while (1+eps)>1
eps = eps/2;
end
eps = eps*2
eps = 2.2204e-016
我想請問我在Matlab跑出來的eps是最小的的正數
那題目eps最大的正數又是什麼 請指點一下 感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.117.243.84
→
10/15 14:10, , 1F
10/15 14:10, 1F
→
10/15 14:11, , 2F
10/15 14:11, 2F
→
10/15 14:13, , 3F
10/15 14:13, 3F
→
10/15 14:13, , 4F
10/15 14:13, 4F