summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-10 20:41:06 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-10 20:41:06 -0800
commit858859cf6fd6becef038cf4d9c1e650c3f2a9cc6 (patch)
tree081517aa9628b45d86e7fb1e139e3da996bdc89b /ChangeLog
parentc940739b8f863f3331f00b36c23ad1526ab1147e (diff)
downloadtxr-858859cf6fd6becef038cf4d9c1e650c3f2a9cc6.tar.gz
txr-858859cf6fd6becef038cf4d9c1e650c3f2a9cc6.tar.bz2
txr-858859cf6fd6becef038cf4d9c1e650c3f2a9cc6.zip
Bignum support in mult function.
* arith.c: Regenerated. * arith.txr (CNUM_BIT): New constant. (bignum, bignum_dbl_ipt): New static functions. (@{add-fname}): Use bignum function. (mul): New functions, rewrite of mul from lib.c. * lib.c (mul): Function removed. * mpi-patches/add-mp-set-intptr (mp_set_intptr): Revised patch. Local variable v should be int_ptr_t not unsigned long. Also, the mp_set interface doesn't set the sign; it's an unsigned interface. We must do that ourselves. * mpi-patches/fix-mult-bug: The main multiplication function is also broken in the same way, requiring the cast. * mpi-patches/mpi-set-double-intptr: Fixed use of wrong type for local variable v.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 699c14eb..51b26334 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,29 @@
2011-12-10 Kaz Kylheku <kaz@kylheku.com>
+ Bignum support in mult function.
+
+ * arith.c: Regenerated.
+
+ * arith.txr (CNUM_BIT): New constant.
+ (bignum, bignum_dbl_ipt): New static functions.
+ (@{add-fname}): Use bignum function.
+ (mul): New functions, rewrite of mul from lib.c.
+
+ * lib.c (mul): Function removed.
+
+ * mpi-patches/add-mp-set-intptr (mp_set_intptr): Revised patch.
+ Local variable v should be int_ptr_t not unsigned long.
+ Also, the mp_set interface doesn't set the sign; it's an unsigned
+ interface. We must do that ourselves.
+
+ * mpi-patches/fix-mult-bug: The main multiplication function is
+ also broken in the same way, requiring the cast.
+
+ * mpi-patches/mpi-set-double-intptr: Fixed use of wrong type for
+ local variable v.
+
+2011-12-10 Kaz Kylheku <kaz@kylheku.com>
+
* mpi-patches/mpi-set-mpi-word: Bugfix and refresh.
* mpi-patches/mpi-set-double-intptr: New file.