diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-19 19:31:37 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-19 19:31:37 -0700 |
commit | e75c5716a22e2c977648230e0d9a0917b41afe56 (patch) | |
tree | 556c60c7bbe55bc1707f89e9c8fadbc165020fde /parser.l | |
parent | 16414f430caa17fccb2e15611a367bb9236ac0ee (diff) | |
download | txr-e75c5716a22e2c977648230e0d9a0917b41afe56.tar.gz txr-e75c5716a22e2c977648230e0d9a0917b41afe56.tar.bz2 txr-e75c5716a22e2c977648230e0d9a0917b41afe56.zip |
* stream.c (vformat): num_buf increased to 256 because we
are now printing floating point numbers into it, letting
the C library handle precision which can generate many digits.
We cap the precision at at 128. New format specifiers ~e
and ~f implemented, which loosely correspond to those of printf.
The ~s and ~a directives handle floats similarly to ~g in
printf, except that they ensure that a decimal point is printed
for the non-exponential notation.
Diffstat (limited to 'parser.l')
0 files changed, 0 insertions, 0 deletions