float_params

MATLAB Code for Parameters of Floating-Point Arithmetics

https://github.com/higham/float_params

您现在正在关注此提交

`float_params` is a MATLAB function for obtaining the parameters of several
floating-point arithmetics. The parameters are built into the code and are
not computed at run time.

The parameters are

- the unit roundoff,
- the smallest positive (subnormal) floating-point number,
- the smallest positive normalized floating-point number,
- the largest floating-point number,
- the number of binary digits in the significand (including the
implicit leading bit)

and the arithmetics supported are

- bfloat16,
- IEEE half precision (fp16),
- IEEE single precision (fp32),
- IEEE double precision (fp64),
- IEEE quadruple precision (fp128).

The code was developed in MATLAB R2018b and works with versions at least
back to R2016b.

引用格式

Nick Higham (2026). float_params (https://github.com/higham/float_params), GitHub. 检索时间: .

致谢

启发作品: float_params2

类别

Help CenterMATLAB Answers 中查找有关 Numeric Types 的更多信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明 Action
1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库