File:  [MW Coherent from dump] / coherent / b / lib / libc / XSTDIO / gcvt.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:36 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * gcvt.c
 * Historical "g"-format floating point output conversion.
 * Non-ANSI.
 */

#include <stdio.h>

char *
gcvt(d, prec, buf) double d; int prec; char *buf;
{
	int i;
	register char *cp;

	cp = _dtefg(buf, &d, 'g', prec, 0, &i);
	*cp = '\0';
	return buf;
}

/* end of gcvt.c */

unix.superglobalmegacorp.com

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