diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-22 10:18:33 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-22 10:18:33 -0700 |
commit | 6254e4fa987437b1d785cae66122d707c886e144 (patch) | |
tree | 45ecf360d0748a1f33a18f93d6dde199cde4b497 /lib.h | |
parent | d4a331511ffa45f41a0a619649e366905e406037 (diff) | |
download | txr-6254e4fa987437b1d785cae66122d707c886e144.tar.gz txr-6254e4fa987437b1d785cae66122d707c886e144.tar.bz2 txr-6254e4fa987437b1d785cae66122d707c886e144.zip |
* arith.c (int_flo): If sprintf produces something
that doesn't begin with a digit, it's most likely NaN or Inf.
We can turn that into an exception.
* stream.c (vformat): If sprintf produces a non-number,
turn it into the printed representation #<bad-float>.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions