Opened 5 years ago
Closed 5 years ago
#12989 closed Bugs (duplicate)
Bug in multiprecision shift left
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | multiprecision |
| Version: | Boost 1.63.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
In cpp_int this test fails:
`
using uint256 = number<cpp_int_backend<256, 256, unsigned_magnitude, unchecked, void>>;
BOOST_CHECK_EQUAL(uint256(3) << 255, uint256(1) << 255);
`
Note:
See TracTickets
for help on using tickets.

Duplicates https://github.com/boostorg/multiprecision/issues/31