Files
astronomy/generate/dontrig.py
Don Cross ad6cc894e0 Replaced my trig functions with mpmath package.
Fascinatingly, I still have discrepancies between a well-tested
high-precision math package 'mpmath' and math.sin, math.cos.
This happens running on my own hardware, which makes me think
there is something wrong with my system, not GitHub's backend.

Here is output comparing mpmath.sin with math.sin,
and mpmath.cos with math.cos.

PY Trigonometry: maxdiff=3.32359e-12, worst angle = 719.9 degrees: PASS

I'm going to commit this to try it on other hardware/OS combinations.
2024-05-29 21:19:20 -04:00

1.4 KiB