Modify

Opened 2 years ago

Closed 2 years ago

#11857 closed Bugs (fixed)

Multiprecision shift right operator discards hex characters in 1.60

Reported by: Colin LeMahieu <clemahieu@…> Owned by: John Maddock
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 2 years ago by John Maddock

Confirmed, testing a fix now.

comment:2 Changed 2 years ago by John Maddock

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.