Commit 6ee07b49 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Bignum: add support for negative shifts (fix #18499)

shiftR/shiftL support negative arguments despite Haskell 2010 report
saying otherwise. We explicitly test for negative values which is bad
(it gets in the way of constant folding, etc.). Anyway, for consistency
we fix Bits instancesof Integer/Natural.
parent 0bd60059
Pipeline #22718 passed with stages
in 317 minutes and 35 seconds