diff options
author | mbkma <[email protected]> | 2020-03-18 10:03:24 +0100 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2020-03-18 21:11:17 +0100 |
commit | 197f53efa72f1710b95478f8960f0304a9b8f4cc (patch) | |
tree | 5c99bd90ff256e194360d9155cec4cc4c6436a65 /src/mp.h | |
parent | 19711cb06c5bffee50084d3cbbbad48bbb2688bb (diff) | |
download | mate-calc-197f53efa72f1710b95478f8960f0304a9b8f4cc.tar.bz2 mate-calc-197f53efa72f1710b95478f8960f0304a9b8f4cc.tar.xz |
add Riemann zeta function and Gauss error function
Diffstat (limited to 'src/mp.h')
-rw-r--r-- | src/mp.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -298,6 +298,12 @@ void mp_acosh(const MPNumber *x, MPNumber *z); /* Sets z = tanh⁻¹ x */ void mp_atanh(const MPNumber *x, MPNumber *z); +/* Sets z to the value of the error function of x */ +void mp_erf(const MPNumber *x, MPNumber *z); + +/* Sets z to the value of the Riemann Zeta function of x */ +void mp_zeta(const MPNumber *x, MPNumber *z); + /* Returns true if x is cannot be represented in a binary word of length 'wordlen' */ bool mp_is_overflow(const MPNumber *x, int wordlen); |