diff options
author | Andy Wingo <wingo@pobox.com> | 2010-11-15 23:43:30 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-11-15 23:43:30 +0100 |
commit | a6f3af1618bb28b96ac44b77f6a69afe97995516 (patch) | |
tree | 0799acdd14a2a3a4b9b80a2d67350de123028b0c /THANKS | |
parent | 8b755a759eb7d07e82285e925bae02c19e7a3107 (diff) |
fix string->number for bases > 16
* libguile/numbers.c (scm_iuint2str): Add an assertion on the domain of
the radix. Use the number_chars table to write the string, instead of
doing strange math. Same effect, though.
(mem2uinteger, char_decimal_value): Change logic to allow all ascii
alphabetic chars as decimals, not just a-f. Thanks to Nils Gey for the
report.
* test-suite/tests/numbers.test ("number->string"): Add some tests.
Diffstat (limited to 'THANKS')
-rw-r--r-- | THANKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ For fixes or providing information which led to a fix: Barry Fishman Charles Gagnon Peter Gavin + Nils Gey Eric Gillespie, Jr Didier Godefroy Panicz Maciej Godek |