View Issue Details

IDProjectCategoryView StatusLast Update
0001079CommunityOCCT:Foundation Classespublic2015-11-01 12:05
ReporteremoAssigned Toabv 
PrioritynormalSeveritytrivial 
Status closedResolutionno change required 
OSAll 
Summary0001079: Standard_Real::IsEqual comparison potential problem
DescriptionThis bug has been added by Stephane Routelous at
http://www.opencascade.org/forumorg/bug.php?bug_id=101&f=8 .

-------

In the function Standard_Real::IsEqual, the test Abs((Value1 - Value2)) should
not be done against RealSmall() ( DBL_MIN ) but against DBL_EPSILON.
See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/bas
ic_53.asp
 
---------
TagsNo tags attached.
Test case number

Activities

szy

2012-01-11 16:13

manager   ~0019088

The same problem - very old bug.

abv

2015-11-01 12:05

manager   ~0047682

Current implementation looks correct, thus closing as irrelevant

Issue History

Date Modified Username Field Change
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes
2011-12-15 17:50 bugmaster Project Open CASCADE => Community
2012-01-11 16:13 szy Note Added: 0019088
2012-01-11 16:13 szy Assigned To bugmaster => abv
2012-01-11 16:13 szy Status new => assigned
2015-11-01 12:05 abv Note Added: 0047682
2015-11-01 12:05 abv Status assigned => closed
2015-11-01 12:05 abv Resolution open => no change required
2015-11-01 12:05 abv Fixed in Version EMPTY =>
2015-11-01 12:05 abv Description Updated