From a6f3af1618bb28b96ac44b77f6a69afe97995516 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 15 Nov 2010 23:43:30 +0100 Subject: 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. --- THANKS | 1 + 1 file changed, 1 insertion(+) (limited to 'THANKS') diff --git a/THANKS b/THANKS index c9a46e2d6..714346d3a 100644 --- a/THANKS +++ b/THANKS @@ -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 -- cgit v1.2.3