summaryrefslogtreecommitdiffstats
path: root/mpi/mpi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-04-22 19:55:07 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-04-22 19:55:07 -0700
commit555f6d6e75948601f763d84410cb4148786b0059 (patch)
tree5c219e22708ec5f1794df9d9ac4802efde77b89f /mpi/mpi.h
parent98dedd310b1d5d876b0fbb0ebd6c4df9bd7b2d88 (diff)
downloadtxr-555f6d6e75948601f763d84410cb4148786b0059.tar.gz
txr-555f6d6e75948601f763d84410cb4148786b0059.tar.bz2
txr-555f6d6e75948601f763d84410cb4148786b0059.zip
mpi-to-double patch
* mpi/mpi.c (mp_to_double): New function. * mpi/mpi.h (mp_to_double): Declared.
Diffstat (limited to 'mpi/mpi.h')
-rw-r--r--mpi/mpi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mpi/mpi.h b/mpi/mpi.h
index ba255419..c6136c15 100644
--- a/mpi/mpi.h
+++ b/mpi/mpi.h
@@ -187,6 +187,11 @@ mp_err mp_invmod(mp_int *a, mp_int *m, mp_int *c);
#endif /* end MP_NUMTH */
/*------------------------------------------------------------------------*/
+/* Conversions */
+
+mp_err mp_to_double(mp_int *mp, double *d);
+
+/*------------------------------------------------------------------------*/
/* Input and output */
#if MP_IOFUNC