stackoverflow-examples icon indicating copy to clipboard operation
stackoverflow-examples copied to clipboard

DecimalBigInt Division

Open dp1310 opened this issue 9 years ago • 2 comments

This is a feature request if you can add a support for DecimalBigInt Division, also a power method

dp1310 avatar Dec 10 '15 11:12 dp1310

I guess I could do this (or someone else), but why?

This class is not production-quality code, it was just made as an example how that could be done, for my Stack Overflow answer.

If you need a big integer class, have a look at java.math.BigInteger instead of using this. It might have slightly more ugly method names, but is certainly implemented more efficiently. (And it has division and power.)

ePaul avatar Dec 10 '15 11:12 ePaul

I use BigInteger for these cases, but I found this class is a good alternative, so thought of having these 2 basic feature addition.

dp1310 avatar Dec 11 '15 08:12 dp1310