summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-22 10:18:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-22 10:18:33 -0700
commit6254e4fa987437b1d785cae66122d707c886e144 (patch)
tree45ecf360d0748a1f33a18f93d6dde199cde4b497 /ChangeLog
parentd4a331511ffa45f41a0a619649e366905e406037 (diff)
downloadtxr-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 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ca30cf7..7da801c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2012-03-22 Kaz Kylheku <kaz@kylheku.com>
+ * 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>.
+
+2012-03-22 Kaz Kylheku <kaz@kylheku.com>
+
* arith.c (to_float): New static function.
(divi): Uses to_float.
(zerop, gt, lt, ge, le, expt): Floating support.