Modify

Ticket #6562 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

boost::lexical_cast works for "nan" but throws an error for "NaN"

Reported by: anonymous Owned by: apolukhin
Milestone: Boost 1.50.0 Component: lexical_cast
Version: Boost 1.48.0 Severity: Problem
Keywords: lexical_cast Cc:

Description

using 1.48 version of lexical_cast works for "nan" but throws an error for "NaN". I do not think there is a formal specification for Not-A-Number in string form, but "NaN" is a common usage form.

I have not checked for other variations such as Inf, +Inf, or -Inf which also are common variations

Attachments

Change History

comment:1 Changed 2 years ago by anonymous

  • Owner set to apolukhin
  • Component changed from None to lexical_cast

comment:2 Changed 2 years ago by apolukhin

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from To Be Determined to Boost 1.50.0

Fixed in r77039 (See #5689)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.