From: adamsonj@email.unc.edu (Joel J. Adamson)
To: Andy Wingo <wingo@pobox.com>
Cc: bug-guile@gnu.org
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 [thread overview]
Message-ID: <m3sjxt6tle.fsf@email.unc.edu> (raw)
In-Reply-To: <20101219-121435.sv20118.81757@savannah.gnu.org> (Andy Wingo's message of "Sun, 19 Dec 2010 12:14:35 +0000")
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
Andy Wingo <INVALID.NOREPLY@gnu.org> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2010-12-20 2:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 20:58 [bug #31893] ice-9 format produces control characters and non-printable characters for numeric output Joel J. Adamson
2010-12-19 11:51 ` Andy Wingo
2010-12-19 12:14 ` Andy Wingo
2010-12-20 2:55 ` Joel J. Adamson [this message]
2010-12-20 17:26 ` Andy Wingo
2010-12-21 2:36 ` Joel J. Adamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3sjxt6tle.fsf@email.unc.edu \
--to=adamsonj@email.unc.edu \
--cc=bug-guile@gnu.org \
--cc=wingo@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).