[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Bug in pic? And how to do this right?
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Bug in pic? And how to do this right? |
Date: |
Fri, 12 Dec 2003 19:26:52 +0000 |
Hi Ted,
> ps_output &ps_output::put_float(double d)
> {
> char buf[128];
> - sprintf(buf, "%.4f", d);
> + sprintf(buf, "%.3g", d);
> int len = strlen(buf);
I forgot to say, this may not be the only format specifier that's now
inaccurate; I haven't checked.
Cheers,
Ralph.