Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsome trigonometric algorithm #2000
Conversation
TravisBuddy
commented
Jun 11, 2020
Travis tests have failedHey @zhbi98, TravisBuddy Request Identifier: 0fbe89b0-abbf-11ea-a7dd-93c9ffbfb007 |
|
All of the trigonometric functions in the standard For example: maths._sin(720)
7.153372857113005e-13
>>> math.sin(math.radians(720))
-4.898587196589413e-16In your test for In general, for checking floats, you need to check against a tolerance instead of just using |
zhbi98 commentedMay 18, 2020
Describe your change:
Created a new file maths.py
Internally implemented some trigonometric functions, root root, factorial, power algorithm