Opened 7 years ago
Closed 7 years ago
#11857 closed Bugs (fixed)
Multiprecision shift right operator discards hex characters in 1.60
| Reported by: | 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 , 7 years ago
comment:2 by , 7 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Confirmed, testing a fix now.