Skip to content

Implementation of acos_fast in javascript using bigint math#39

Open
Chvx wants to merge 1 commit into
influenceth:mainfrom
Chvx:odhack-chvx
Open

Implementation of acos_fast in javascript using bigint math#39
Chvx wants to merge 1 commit into
influenceth:mainfrom
Chvx:odhack-chvx

Conversation

@Chvx
Copy link
Copy Markdown

@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