#5675 closed Bugs (fixed)
lexical_cast<double>(".34") failure
Reported by: | Ralf W. Grosse-Kunstleve | Owned by: | Antony Polukhin |
---|---|---|---|
Milestone: | To Be Determined | Component: | lexical_cast |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
Using boost svn trunk rev. 72951
lexical_cast<double>(".34")
throws an exception (many platforms: Windows, Mac, Linux). The critical revision is 72925:
r72925 | apolukhin | 2011-07-06 08:43:04 -0700 (Wed, 06 Jul 2011) | 1 line
Partial fix for #5660. Better performance and less memory usage for conversions to float type (and to double type, if sizeof(double) < sizeof(long double)). New test suits. Documentation update.
Change History (3)
comment:1 by , 11 years ago
Status: | new → assigned |
---|---|
Summary: | lexical_cast<double>("0.34") failure → lexical_cast<double>(".34") failure |
Version: | Boost 1.46.1 → Boost Development Trunk |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [72954]) Fixes #5675. Adds tests on #5675. Updates #5660. Updates performance section of documentation