Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 Antony Polukhin, 11 years ago

Status: newassigned
Summary: lexical_cast<double>("0.34") failurelexical_cast<double>(".34") failure
Version: Boost 1.46.1Boost Development Trunk

comment:2 by Antony Polukhin, 11 years ago

Resolution: fixed
Status: assignedclosed

(In [72954]) Fixes #5675. Adds tests on #5675. Updates #5660. Updates performance section of documentation

comment:3 by Ralf W. Grosse-Kunstleve, 11 years ago

Thanks for the quick fix!

Note: See TracTickets for help on using tickets.