diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-07-27 14:50:37 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-28 02:02:27 -0400 |
commit | 6ee07b494ddd0131d53ea2fd6a4bb29cd05f4dd8 (patch) | |
tree | cd98755c2466c9fdb6a736a8442d55fa44ac4bf3 /libffi-tarballs | |
parent | 0bd60059b0edfee9e8f66c6817257bbb946656cd (diff) | |
download | haskell-6ee07b494ddd0131d53ea2fd6a4bb29cd05f4dd8.tar.gz |
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.
Diffstat (limited to 'libffi-tarballs')
0 files changed, 0 insertions, 0 deletions