bitwiseshiftleft/sjcl — pull request #145 by stbuehler (2014-01-01 15:43:32+00:00)
Title: bignum: fix hard-coded radix in toBits(), remove broken Math.min

* fix hard-coded radix in toBits(): need to round up len first if radix isn't byte aligned, which makes it also more readable
* remove broken Math.min (which luckily never triggered) - only the first limb is possibly stored partial, all other limbs are stored with their full "radix" size.