Opened 5 years ago

Closed 5 years ago

#12989 closed Bugs (duplicate)

Bug in multiprecision shift left

Reported by: Paweł Bylica <chfast@…> 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); `

Change History (1)

comment:1 by John Maddock, 5 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.