LIBMP(3LIB) Interface Libraries LIBMP(3LIB)

libmp - multiple precision library

cc [ flag... ] file... -lmp [ library... ]
#include <mp.h>

Functions in this library provide various multiple precision routines.

The shared object libmp.so.2 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

mp_gcd mp_itom
mp_madd mp_mcmp
mp_mdiv mp_mfree
mp_min mp_mout
mp_msqrt mp_msub
mp_mtox mp_mult
mp_pow mp_rpow
mp_sdiv mp_xtom

/lib/libmp.so.1
shared object for binary compatibility only

/lib/libmp.so.2

shared object

/lib/64/libmp.so.2

64-bit shared object

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Unsafe

pvs(1), Intro(3), exp(3M), mp(3MP), attributes(7)

March 24, 2004 OmniOS