[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #31893] ice-9 format produces control characters and non-printa
From: |
Joel J. Adamson |
Subject: |
Re: [bug #31893] ice-9 format produces control characters and non-printable characters for numeric output |
Date: |
Sun, 19 Dec 2010 21:55:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Andy Wingo <address@hidden> writes:
> Actually I think this problem is less exciting.
This is exactly what I was hoping for!
> Your format was:
>
> ~9,8,,,0g
>
> So you are specifying a width of 9 chars, 8 mantissa digits, and an
> "overflow character" of zero, which also has the effect of making the
> width a hard limit. Also note that your overflow char is
> (integer->char 0), not # -- the nul byte, indeed a control character.
This makes sense. Using just "~f " fixed some of the output, but not
all. I will work more with the format strings.
Thanks,
Joel
--
Joel J. Adamson -- http://www.unc.edu/~adamsonj
University of North Carolina at Chapel Hill
CB #3280, Coker Hall
Chapel Hill, NC 27599-3280
pgpUbtMvYziiu.pgp
Description: PGP signature