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

Implementation of acos_fast in javascript using bigint math #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Chvx
Copy link

@Chvx Chvx commented Jun 30, 2024

⚠️ Not for use in the current state, the code is not integrated (I'm missing knowledge to do it properly)

odhack.js: contains the javascript implementation of acos_fast (/src/f64/math/trig.cairo) as well as a test that iterates through values from -1 to1 to compute and display the resulting angle
node src/odhack.js

odhack.cairo: contains the same test as the javascript loop to print angle values and verify the javascript output
scarb build
scarb cairo-run

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.

1 participant