buildingSMART / buildingSMART/IDS

equality definition is not symmetric

Open
#355 4 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.