buildingSMART / buildingSMART/IDS
equality definition is not symmetric
Open
discuss & decide
documentation
- Dominant language
- C#
- Stars
- 318
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
x == v ⇒ (v - abs(v) × ϵ - ϵ) < x < (v + abs(v) × ϵ + ϵ) with a tolerance value being: ϵ = 1.0e⁻⁶
So
-1000001.0000011 != -1000000
but
-1000000 == -1000001.0000011
(fail-comparison_tolerance_for_floating_point_negative_high_number_lower_bound)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.