summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-19 19:31:37 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-19 19:31:37 -0700
commite75c5716a22e2c977648230e0d9a0917b41afe56 (patch)
tree556c60c7bbe55bc1707f89e9c8fadbc165020fde /parser.l
parent16414f430caa17fccb2e15611a367bb9236ac0ee (diff)
downloadtxr-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