2N/A/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
2N/A/* All Rights Reserved */
2N/A
2N/A
2N/A/*
2N/A * Copyright (c) 1980 Regents of the University of California.
2N/A * All rights reserved. The Berkeley software License Agreement
2N/A * specifies the terms and conditions for redistribution.
2N/A */
2N/A/* Portions Copyright(c) 1996, Sun Microsystems Inc. */
2N/A/* All Rights Reserved */
2N/A
2N/A/*
2N/A * Copyright (c) 1997, by Sun Microsystems, Inc.
2N/A * All rights reserved.
2N/A */
2N/A
2N/A/* fix for bugid 1240660 redefine old libmp interfaces to go to the new */
2N/A/* mp_*() interfaces */
2N/A
2N/A#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
2N/A
2N/A/* LINTLIBRARY */
2N/A
2N/A#include <mp.h>
2N/A#include <sys/types.h>
2N/A#include "libmp.h"
2N/A
2N/Avoid gcd(MINT *a, MINT *b, MINT *c) { mp_gcd(a, b, c); }
2N/A
2N/Avoid madd(MINT *a, MINT *b, MINT *c) { mp_madd(a, b, c); }
2N/A
2N/Avoid msub(MINT *a, MINT *b, MINT *c) { mp_msub(a, b, c); }
2N/A
2N/Avoid mdiv(MINT *a, MINT *b, MINT *q, MINT *r) { mp_mdiv(a, b, q, r); }
2N/A
2N/Avoid sdiv(MINT *a, short n, MINT *q, short *r) { mp_sdiv(a, n, q, r); }
2N/A
2N/Aint min(MINT *a) { return (mp_min(a)); }
2N/A
2N/Avoid mout(MINT *a) { mp_mout(a); }
2N/A
2N/Aint msqrt(MINT *a, MINT *b, MINT *r) { return (mp_msqrt(a, b, r)); }
2N/A
2N/Avoid mult(MINT *a, MINT *b, MINT *c) { mp_mult(a, b, c); }
2N/A
2N/Avoid pow(MINT *a, MINT *b, MINT *c, MINT *d) { mp_pow(a, b, c, d); }
2N/A
2N/Avoid rpow(MINT *a, short n, MINT *b) { mp_rpow(a, n, b); }
2N/A
2N/AMINT *itom(short n) { return (mp_itom(n)); }
2N/A
2N/Aint mcmp(MINT *a, MINT *b) { return (mp_mcmp(a, b)); }
2N/A
2N/AMINT *xtom(char *key) { return (mp_xtom(key)); }
2N/A
2N/Achar *mtox(MINT *key) { return (mp_mtox(key)); }
2N/A
2N/Avoid mfree(MINT *a) { mp_mfree(a); }
2N/A
2N/A/* VARARGS */
2N/Ashort *xalloc(int nint, char *s) { return (_mp_xalloc(nint, s)); }
2N/A
2N/Avoid xfree(MINT *c) { _mp_xfree(c); }