zaach/bigint-browserify — pull request #2 by weilu (2014-04-07 12:42:10+00:00)
Title: Add `div` and `and` methods

I need to point out that there's some inconsistency between jsbn and bigint when dividing negative numbers -- jsbn rounds towards zero for integer divisions, e.g. 10 / -3 = -3, whereas bigint rounds towards negative infinity, e.g. 10 / -3 = -4. Positive numbers work fine, therefore the PR. I'm willing to look further into this if required.