diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2017-10-16 22:12:03 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2017-10-16 22:18:52 +0200 |
commit | 5984a698fc2974b719365a9647a7cae1bed51eec (patch) | |
tree | 8534bb79e087e4b55cac76c3fc166e18ae8f7fe6 /testsuite/tests/numeric | |
parent | e3ba26f8b49700b41ff4672f3f7f6a4e453acdcc (diff) | |
download | haskell-5984a698fc2974b719365a9647a7cae1bed51eec.tar.gz |
Override default `clearBit` method impl for `Natural`
The default implementation of `clearBit` is in terms of
`complement`. However, `complement` is not well-defined
for `Natural` and this consequently renders the default
implementation of `clearBit` dysfunctional.
This implements `clearBit` in terms of `testBit`
and `setBit` which are both well-defined for `Natural`s.
This addresses #13203
Diffstat (limited to 'testsuite/tests/numeric')
0 files changed, 0 insertions, 0 deletions