HPF - a big decimal class
High precision floating point arithmetic, a new class written in MATLAB
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
John D'Errico (2026). HPF - a big decimal class (https://uk.mathworks.com/matlabcentral/fileexchange/36534-hpf-a-big-decimal-class), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Multiple Precision Toolbox for MATLAB, num2strexact (exact version of num2str), Variable Precision Integer Arithmetic
General Information
- Version 1.23.0 (1.49 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.23.0 | Repairs bugs for the ceil function. |
||
| 1.22.0 | Bug fix |
||
| 1.21.0 | Bug fix, to catch cases like
|
||
| 1.20.0 | Bug repair |
||
| 1.15.0 | Repair bug wen parsing numbers as strings of the form "nnn." |
||
| 1.14.0 | Repair string parsing bug |
||
| 1.13.0 | Re-post a release that fixes the problem: hpf(-1, [20 0]) + hpf(-1e-21, [20 0]) |
||
| 1.12.0 | Fix sqrt |
||
| 1.11.0 | Flagged as a toolbox |
||
| 1.10.0 | Fixed a bug in exp (which was actually due to a bug in plus, so fixed that too.)
|
||
| 1.9.0 | Minor bug fixes. tan(0) fixed, cot and cotd added. doc updates. |
||
| 1.8.0 | This release fixes a bug in power. It also fixes a bug for the exponentials of VERY large numbers. Finally, I changed the exponent field to be int64, so considerably larger exponents are now allowed. |
||
| 1.7.0 | Corrected the last fix to repair the sign on underflows. |
||
| 1.6.0 | Fix plus - found by Djordje Petrovic |
||
| 1.5.0 | Fixed eq.m, add HPFmod2 |
||
| 1.4.0 | Further updates to the HPF pdf file |
||
| 1.3.0 | New .pdf file provided by Derek O'Connor. |
||
| 1.2.0 | Added static methods, ones, zeros, eye, ten. A few minor doc changes. |
||
| 1.1.0 | Many repairs & updates - moved hpf.m into @hpf to enable new methods to be added easily. |
||
| 1.0.0 |