HaxeFoundation / HaxeFoundation/hxcpp
Math.sin is incorrect
Open
- Dominant language
- C++
- Stars
- 330
- Forks
- 227
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 18
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.