[SERVER-14131] parseNumberFromString cannot parse floating point numbers with hex base specifiers on Solaris and Windows Created: 02/Jun/14 Updated: 14/Apr/16 Resolved: 04/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 2.7.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shaun Verch | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | polish | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Platforms 13 (04/22/16) | ||||||||
| Participants: | |||||||||
| Description |
|
See https://github.com/mongodb/mongo/blob/r2.7.1/src/mongo/base/parse_number_test.cpp#L300 The issue is that the system libraries that parseNumberFromString uses do not correctly parse these values. For example: "0x10.1" is not parseable on these platforms. User visible impact:
|
| Comments |
| Comment by Justin Cohler [ 04/Apr/16 ] |
|
We intend to remove all hex doubles as they are non-standard before C++17 |
| Comment by Githook User [ 31/Jul/14 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |