|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 468 (0x1d4) Types: TextFile Names: »numline.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─⟦this⟧ »EUUGD11/stat-5.3/eu/stat/src/numline.c«
/* Copyright 1986 Gary Perlman */ #include "stat.h" FUN(numline,print min and max values,5.0,1/13/86) numline (minx, maxx, padwidth) double minx; double maxx; int padwidth; /* amount of padding needed */ { char buf[BUFSIZ]; VOID sprintf (buf, "%-.3f", minx); padwidth -= strlen (buf); VOID sprintf (buf, "%.3f", maxx); padwidth -= strlen (buf); printf ("%-.3f", minx); while (padwidth-- > 0) putchar (' '); printf ("%.3f", maxx); putchar ('\n'); }