COHERENT manpages

This page displays the COHERENT manpage for mtos() [Convert multiple-precision integer to string].

List of available manpages
Index


mtos() -- Multiple-Precision Mathematics (libmp)

Convert multiple-precision integer to string
#include <mprec.h>
char *mtos(a) mint *a;

mtos() converts the multiple-precision integer (or mint) pointed to by a to
a string.   It returns a pointer  to the string it  creates.  The string is
allocated by malloc(),  and may be freed by free().  The base of the string
is set by the value of the external variable obase.

See Also

libmp