COHERENT manpages

This page displays the COHERENT manpage for mcmp() [Compare multiple-precision integers].

List of available manpages
Index


mcmp() -- Multiple-Precision Mathematics (libmp)

Compare multiple-precision integers
#include <mprec.h>
int mcmp(a, b)
mint *a, *b;

mcmp() compares the multiple-precision  integers (or mints) pointed to by a
and b.  It returns a  signed integer less  than, equal to,  or greater than
zero according to whether the value pointed to by a is less than, equal to,
or greater than that pointed to by b.

See Also

libmp