summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--THANKS1
-rw-r--r--libguile/ChangeLog18
-rw-r--r--test-suite/ChangeLog5
3 files changed, 24 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index 26cf428ff..a09b86636 100644
--- a/THANKS
+++ b/THANKS
@@ -7,6 +7,7 @@ Contributors since the last release:
Han-Wen Nienhuys
Kevin Ryde
Bill Schottstaedt
+ Richard Todd
Sponsors since the last release:
diff --git a/libguile/ChangeLog b/libguile/ChangeLog
index 29c8e024c..58efb49e5 100644
--- a/libguile/ChangeLog
+++ b/libguile/ChangeLog
@@ -1,3 +1,21 @@
+2004-05-10 Marius Vollmer <mvo@zagadka.de>
+
+ Convert floating point numbers into strings with an arbitrary
+ radix. Thanks to Richard Todd!
+
+ * numbers.c (FLOBUFLEN): Increase so that radix 2 strings will
+ fit.
+ (fx): Removed.
+ (scm_dblprec, fx_per_radix, init_dblprec, init_fx_radix,
+ number_chars): New, to support variable radices.
+ (idbl2str): Use above instead of the old base-10 only tables.
+ (iflo2str): Pass on new RADIX argument to idbl2str.
+ (scm_number_to_string): Pass radix to iflo2str.
+ (scm_print_real, scm_print_complex): Explicitly pass radix 10 to
+ iflo2str.
+ (scm_init_numbers): Call init_dblprec and init_fx_radix for all
+ possible radices.
+
2004-05-10 Kevin Ryde <user42@zip.com.au>
* numbers.c (scm_logbit_p): Correction to test above the end of an
diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog
index 1e65ad063..e9182f1a1 100644
--- a/test-suite/ChangeLog
+++ b/test-suite/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-10 Marius Vollmer <mvo@zagadka.de>
+
+ * tests/numbers.test (number->string): Added tests for
+ non-radix-10 floating point conversions.
+
2004-05-10 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (logbit?): New tests.