.TH mtos() "" "" "Multiple-Precision Mathematics (libmp)"
.PC "Convert multiple-precision integer to string"
.B "#include <mprec.h>"
\fBchar *mtos(\fIa\^\fB) mint *\fIa\^\fB;\fR
.PP
.B mtos()
converts the multiple-precision integer (or \fBmint\fR) pointed to by
.I a
to a string.
It returns a pointer to the string it creates.
The string is allocated by
.BR malloc() ,
and may be freed by
.BR free() .
The base of the string is set by the value of the external variable
.BR obase .
.SH "See Also"
.Xr "libmp" libmp
