Update of bug #31893 (project guile):
Status: None => Invalid
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
Actually I think this problem is less exciting. 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.
In this case the width of the whole thing will always be more than 9
characters, so we always splat in the overflow char, which is #nul -- leading
to the result given in my first comment.
In the future for debugging these things, don't print to the terminal --
print to a string instead. That will be clearer.
Cheers,
Andy
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31893>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/