-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
e1d4507
commit ad6cc89
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters