diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-06-02 19:11:35 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-04 12:45:01 -0400 |
commit | 737b0ae194ca33f9bea9a150dada0c933fd75d4d (patch) | |
tree | 1511b12b7ce9b52f7ae4be19bf7e4014562f9777 /testsuite | |
parent | 733757adb54eccdb4428e5ca4b2d896804bf5965 (diff) | |
download | haskell-737b0ae194ca33f9bea9a150dada0c933fd75d4d.tar.gz |
Fix Integral instances for Words
* ensure that division wrappers are INLINE
* make div/mod/divMod call quot/rem/quotRem (same code)
* this ensures that the quotRemWordN# primitive is used to implement
divMod (it wasn't the case for sized Words)
* make first argument strict for Natural and Integer (similarly to other
numeric types)
Diffstat (limited to 'testsuite')
0 files changed, 0 insertions, 0 deletions