summaryrefslogtreecommitdiffstats
path: root/arith.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-04 11:55:19 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-03-04 11:55:19 -0800
commit3490dd06c52d5aa7c258f03025a05064837ce1c6 (patch)
tree23f4ef5380a7863f1ef290c9c309af4529689a0f /arith.c
parentf75994545cb88c6625e4122afa61fbbe1adeb081 (diff)
downloadtxr-3490dd06c52d5aa7c258f03025a05064837ce1c6.tar.gz
txr-3490dd06c52d5aa7c258f03025a05064837ce1c6.tar.bz2
txr-3490dd06c52d5aa7c258f03025a05064837ce1c6.zip
* mpi-patches/add-mp-hash (mp_hash): Fixed use of uninitialized
variable on platforms where the MP digit is smaller than a long integer. (Not anything TXR is known to run on). Changed algorithm to take the first and last digit and add them together, rather than just taking the last digit. The last digit will be zeros for numbers that contain 2 as a factor with a large enough multiplicity. * mpi-patches/add-mpi-toradix-with-case: Refreshed. * mpi-patches/bit-search-optimizations: Likewise. * mpi-patches/faster-square-root: Likewise. * mpi-patches/fix-bad-shifts: Likewise. * mpi-patches/fix-mult-bug: Likewise.
Diffstat (limited to 'arith.c')
0 files changed, 0 insertions, 0 deletions