5 votesCscotty commented
Perhaps the author is either no longer interested for can't reproduce the issue as it's still broken. Here are some steps to reproduce it.
1) Set precision to 9
2) calculate tan(0.78), this will work OK, result is 0.989261537
3) calculate pi/4. this will work OK, result is 0.785398163
4) calculate tan(0.785398163). This will fail with Error. [DecimalError] Precision limit exceedeCscotty commented
To add to this, if I change "precision" to 99 I get a result but i's wrong.
For example cos(#45) = 2.71828182845904523536028747135266249775724709369995957496696762772407663035354759457138217852516643