Kerk Dovan

Results 3 comments of Kerk Dovan

The answer is maybe a bit late, but it may help some _future generations_ of this package's users. The solution here is to define methods with pointer receiver and then...

This seems to be not a bug, just a loss of infinitely repeating part. Other decimal libraries fight this problem by rounding after multiplication and division. Not perfectly, however: [they...

Precision of the inverted number (`bInv`) must be much more (twice seems to work) than the length of the multiplicand (`a`). Here are some tests: https://play.golang.org/p/BFN6BBzVAOz Thus, the pattern should...