Annotation of coherent/b/lib/libc/XSTDIO/gcvt.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * gcvt.c
                      3:  * Historical "g"-format floating point output conversion.
                      4:  * Non-ANSI.
                      5:  */
                      6: 
                      7: #include <stdio.h>
                      8: 
                      9: char *
                     10: gcvt(d, prec, buf) double d; int prec; char *buf;
                     11: {
                     12:        int i;
                     13:        register char *cp;
                     14: 
                     15:        cp = _dtefg(buf, &d, 'g', prec, 0, &i);
                     16:        *cp = '\0';
                     17:        return buf;
                     18: }
                     19: 
                     20: /* 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.