buildingSMART / buildingSMART/IDS

pass-comparison_tolerance_for_floating_point_negative_high_number_lower_bound should fail

Open
#354 3 comments 0 reactions 0 assignees View on GitHub
please contribute tests
Dominant language
C#
Stars
318
Forks
90
PR merge metrics
No merged PRs in 30d

Description

-1000000.
#10=IFCPROPERTYSINGLEVALUE('Foo',$,IFCREAL(-1000001.0000010000),$);
x == v ⇒ (v - abs(v) × ϵ - ϵ) < x < (v + abs(v) × ϵ + ϵ) with a tolerance value being: ϵ = 1.0e⁻⁶

-1000001.000001 < -1000001.000001 is false, so simpleValue != nominalValue

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.