What complexity are operations on BigInteger?

前端 未结 4 1838
臣服心动
臣服心动 2020-12-09 12:42

What complexity are the methods multiply, divide and pow in BigInteger currently? There is no mention of the computationa

4条回答
  •  死守一世寂寞
    2020-12-09 13:20

    There is a new "better" BigInteger class that is not being used by the sun jdk for conservateism and lack of useful regression tests (huge data sets). The guy that did the better algorithms might have discussed the old BigInteger in the comments.

    Here you go http://futureboy.us/temp/BigInteger.java

提交回复
热议问题