From 6254e4fa987437b1d785cae66122d707c886e144 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku <kaz@kylheku.com> Date: Thu, 22 Mar 2012 10:18:33 -0700 Subject: * 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>. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9ca30cf7..7da801c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +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. -- cgit v1.2.3