How to calculate machine epsilon in MATLAB?

前端 未结 2 1204
名媛妹妹
名媛妹妹 2020-12-19 13:15

I need to find the machine epsilon and I am doing the following:

eps = 1;

while 1.0 + eps > 1.0 do
    eps = eps /2;
end

However, it sh

2条回答
提交回复
热议问题