summaryrefslogtreecommitdiff
path: root/src/mp.h
diff options
context:
space:
mode:
authormbkma <[email protected]>2020-03-18 10:03:24 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2020-03-18 21:11:17 +0100
commit197f53efa72f1710b95478f8960f0304a9b8f4cc (patch)
tree5c99bd90ff256e194360d9155cec4cc4c6436a65 /src/mp.h
parent19711cb06c5bffee50084d3cbbbad48bbb2688bb (diff)
downloadmate-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mp.h b/src/mp.h
index 1748c03..f57ff16 100644
--- a/src/mp.h
+++ b/src/mp.h
@@ -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);