MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031226Open CASCADE[OCCT] OCCT:Foundation Classespublic2019-12-06 12:152019-12-13 07:10
Reportertizmaylo 
Assigned Toabv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0031226: Foundation Classes - TCollection_AsciiString::IsRealValue() returns true if a string contains a non-real value
DescriptionThe method TCollection_AsciiString::IsRealValue() of the TCollection_AsciiString class returns true if a string contains a non-real value (e.g. "9999a9").
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
(0089486)
abv (manager)
2019-12-13 07:10

This is historic implementation of method TCollection_AsciiString::IsRealValue() - it always returned true if the string was started with some characters that can be interpreted as integer or real value. I propose we can document this in the comment to the method, but it is better not to change behavior as it can break some existig code. Perhaps additional Boolean argument can be added indicating the need for a strict check.

- Issue History
Date Modified Username Field Change
2019-12-06 12:15 tizmaylo New Issue
2019-12-06 12:15 tizmaylo Assigned To => abv
2019-12-13 07:10 abv Note Added: 0089486


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker