File:  [MW Coherent from dump] / coherent / d / usr / lib / libmp / mout.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:38 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#include <stdio.h>
#include "mprec.h"


/*
 *	Mout writes on stdout the value of the mint pointed to by "a"
 *	in base "obase".
 */

void
mout(a)
mint *a;
{
	register char *res;
	char *mark;
	register int len;

	mark = res = mtos(a);
	for (len = strlen(res) / 72; len-- > 0; res += 72)
		printf("%.72s\\\n", res);
	printf("%s", res);
	mpfree(mark);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.