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

Math.sin is incorrect #1194

Open
nebulazorua opened this issue Feb 13, 2025 · 0 comments
Open

Math.sin is incorrect #1194

nebulazorua opened this issue Feb 13, 2025 · 0 comments

Comments

@nebulazorua
Copy link

Math.sin(pi) should return 0, and this is correct in base C++ standard math, but in hxcpp sin(pi) returns a really low number instead (~1.22e-14)
Would be nice to use standard pi for the pi definition so that stuff like this isn't an issue

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

No branches or pull requests

1 participant