Modify

#11857 closed Bugs (fixed)

Multiprecision shift right operator discards hex characters in 1.60

Reported by: Colin LeMahieu <clemahieu@…> Owned by: johnmaddock
Milestone: To Be Determined Component: multiprecision
Version: Boost 1.60.0 Severity: Regression
Keywords: Cc:

Description

In number.hpp:1764 around:

   case boost::multiprecision::number_kind_integer:
      s = detail::read_string_while(is, "+-0xX123456789");
      break;

This seems to discard all alpha hex digits and should be

   case boost::multiprecision::number_kind_integer:
      s = detail::read_string_while(is, "+-0xX123456789abcdefABCDEF");
      break;

Attachments (0)

Change History (2)

comment:1 Changed 18 months ago by johnmaddock

Confirmed, testing a fix now.

comment:2 Changed 18 months ago by johnmaddock

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain johnmaddock.
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.