Unity-Technologies / Unity-Technologies/Unity.Mathematics
Add support for math.near_equal or similar to Mathf.Approximately
Open
@unpacklo is already working on this.
Since Jun 4, 2019.
enhancement
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
There is currently no helper methods exposed to compare two floating points that are approximately the same
What needs to be determined:
- name of these methods (e.g
near_equal...) - what kind of implementation do we want? (taking into account ULP or not? one version with more parameters?...)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.