JordanRL/Fermat

Increase trig operations to more "arbitrary" precision

JordanRL opened this issue · 1 comments

Related to #15 it would be nice to somehow uncap the precision of the trig operations. In order for this to happen there needs to be a way of getting several constants, namely e and pi, to "arbitrary" precision. I'm currently exploring the best way to implement this.

I think precision to 100 digits hits the vast majority of cases, so it might be okay to keep the constants for most cases and call a generator of some kind in the special cases where greater precision is required.

After doing some research and examination, I believe that because of the way the trig functions use the constants (in converging series) the significant figures concerns I had for extremely precise trig values is actually not an issue. The existing constants should support the same full precision.

Thus, the solution is to remove the restrictions on precision within the trig functions themselves.