HPF - a big decimal class

High precision floating point arithmetic, a new class written in MATLAB

Download
Download

You are now following this Submission

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 .

Categories

Find more on Language Fundamentals in Help Center and MATLAB Answers

General Information

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.

Download
1.22.0

Bug fix

Download
1.21.0

Bug fix, to catch cases like
hpf(-1, [20 0]) + hpf(-1e-21, [20 0])

Download
1.20.0

Bug repair

Download
1.15.0

Repair bug wen parsing numbers as strings of the form "nnn."

Download
1.14.0

Repair string parsing bug

Download
1.13.0

Re-post a release that fixes the problem:

hpf(-1, [20 0]) + hpf(-1e-21, [20 0])

Download
1.12.0

Fix sqrt

Download
1.11.0

Flagged as a toolbox

Download
1.10.0

Fixed a bug in exp (which was actually due to a bug in plus, so fixed that too.)
Added functions rat and int2str.

Download
1.9.0

Minor bug fixes. tan(0) fixed, cot and cotd added. doc updates.

Download
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.

Download
1.7.0

Corrected the last fix to repair the sign on underflows.

Download
1.6.0

Fix plus - found by Djordje Petrovic

Download
1.5.0

Fixed eq.m, add HPFmod2

Download
1.4.0

Further updates to the HPF pdf file

Download
1.3.0

New .pdf file provided by Derek O'Connor.

Download
1.2.0

Added static methods, ones, zeros, eye, ten. A few minor doc changes.

Download
1.1.0

Many repairs & updates - moved hpf.m into @hpf to enable new methods to be added easily.

Download
1.0.0

Download