⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eta.m

📁 Interval Arithmetic Toolbox for Matlab
💻 M
字号:
function prec = eta(varargin)

%ETA computes the smallest machine number (machine precision) prec.
%
%b4m - datatype interval    Version 1.02    (c) 16.3.1998 Jens Zemke
%
%   DESCRIPTION:
%     'eta' is called
%
%         prec = eta
%
%     and computes the smallest machine number.
%
%     The operations on the datatype interval
%     are based on BIAS by Olaf Knueppel.
%
%   SEE ALSO:
%     double: eps, epsilon, realmin.

% On the IBM RS/6000 eta is less than realmin.

% prec = eps;
% while (prec / 2)        % code for testing whether BIAS is compiled
%    prec = prec / 2;     % correctly, returns eta (slower) without
% end                     % the use of directed roundings.

prec = succ(0);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -