summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-10-01 17:35:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-10-01 17:35:10 -0700
commit40bae281a56c9e305852905dcbd29125de388b25 (patch)
treee2f1675ca58161fb791e179acf31c744b64deb63 /ChangeLog
parentbaf80248032cdb8856d9e3217d48e9fd5e9e49c5 (diff)
downloadtxr-40bae281a56c9e305852905dcbd29125de388b25.tar.gz
txr-40bae281a56c9e305852905dcbd29125de388b25.tar.bz2
txr-40bae281a56c9e305852905dcbd29125de388b25.zip
* arith.c (bignum_from_long): New function.
* arith.h (bignum_from_long): Declared. * lib.c (int_str): Streamlined. Only use mp_read_radix in the case when wcstol fails, because now we have bignum_from_long to handle all values of long. Ensure that the bignum is normalized, in case it falls in the fixnum range (does not happen on our usual platforms).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8015cdd2..389134a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2012-10-01 Kaz Kylheku <kaz@kylheku.com>
+
+ * arith.c (bignum_from_long): New function.
+
+ * arith.h (bignum_from_long): Declared.
+
+ * lib.c (int_str): Streamlined. Only use mp_read_radix in the case when
+ wcstol fails, because now we have bignum_from_long to handle all values
+ of long. Ensure that the bignum is normalized, in case it falls in the
+ fixnum range (does not happen on our usual platforms).
+
2012-09-25 Kaz Kylheku <kaz@kylheku.com>
* eval.c: Allow the test form of a for loop to be omitted,