Opened 7 years ago

Closed 7 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;

Change History (2)

comment:1 by John Maddock, 7 years ago

Confirmed, testing a fix now.

Note: See TracTickets for help on using tickets.