1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

*** empty log message ***

This commit is contained in:
Marius Vollmer 2004-05-10 20:43:00 +00:00
parent d39a7b5881
commit 3d5ebfa95c
3 changed files with 24 additions and 0 deletions

1
THANKS
View file

@ -7,6 +7,7 @@ Contributors since the last release:
Han-Wen Nienhuys
Kevin Ryde
Bill Schottstaedt
Richard Todd
Sponsors since the last release:

View file

@ -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

View file

@ -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.