10-29-2022, 12:29 AM
Well late to the party. I had to deal with just this sort of thing using string math on decimal powers and nth roots. It works well in theory with long division methods, but unlike string math regular division, which I made a very fast routine, the may iterations of decimal powers and nth roots with Pascal's Triangle and binomial expansion is a real speed killer. At some point, I need to take a good look at Jack's dec_float routines. He found some rounding method that seems like it might be reliable.
Pete
Pete