Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cordic benchmark #260

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Add cordic benchmark #260

merged 1 commit into from
Aug 29, 2023

Conversation

matth2k
Copy link
Contributor

@matth2k matth2k commented Aug 29, 2023

No description provided.

Copy link
Owner

@sampsyo sampsyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow; super cool benchmark!! This algorithm is fascinating.

@@ -0,0 +1 @@
0.86369602123419631
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just confirming with a reference implementation:

>>> import math
>>> math.sin(1.0472)
0.8660266281835431

Accurate to two decimal places! Not too shabby.

@sampsyo sampsyo merged commit a7a0759 into sampsyo:main Aug 29, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants