Mastering floating point rounding mode
Versione 1.0.0 (7,64 KB) da
Alain Barraud
This submission offers to the user the possibility to set and/or get floating point rounding mode.
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.
Cita come
Alain Barraud (2025). Mastering floating point rounding mode (https://it.mathworks.com/matlabcentral/fileexchange/155602-mastering-floating-point-rounding-mode), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2023b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Rounding
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |
