Mastering floating point rounding mode

版本 1.0.0 (7.6 KB) 作者: Alain Barraud
This submission offers to the user the possibility to set and/or get floating point rounding mode.
1.0 次下载
更新时间 2023/11/25

查看许可证

There is officially no matlab function to set and/or get floating point rounding mode.
Our SGRound.c function represents a long term approach to answer to the question of mastering floating point rounding mode.
However a SGRound.m file version is given for an historic reason via an undocument function used by matlab istself.
A small test function is included to check numerically that the current selected rounding mode works as expected.

引用格式

Alain Barraud (2024). Mastering floating point rounding mode (https://www.mathworks.com/matlabcentral/fileexchange/155602-mastering-floating-point-rounding-mode), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0