diff options
| author | simonmar <unknown> | 1999-12-08 14:22:00 +0000 |
|---|---|---|
| committer | simonmar <unknown> | 1999-12-08 14:22:00 +0000 |
| commit | 9c370d695ac7b7b7108440b028b017459ae5ef02 (patch) | |
| tree | 750fa2f42287075cb0b47b9c61e44bfcbb5ab31f /ghc/lib/std/cbits/system.c | |
| parent | 60741e4205e743fc99d50f707c61db93d1372bc8 (diff) | |
| download | haskell-9c370d695ac7b7b7108440b028b017459ae5ef02.tar.gz | |
[project @ 1999-12-08 14:21:52 by simonmar]
Add Marc Van Dongen's Integer improvements. Specifically:
- new primops: gcdInt#, gcdIntegerInt#, divExact#,
quotInteger#, remInteger#.
- new definitions of quot and rem for Integer in
PrelNum (using the new quotInteger# and remInteger#
primops instead of quotRemInteger#). Should be
slightly faster than before. div & mod aren't
likewise optimised (yet).
- specialisations of gcd for Int and Integer, and
lcm for Integer in PrelNum.
Diffstat (limited to 'ghc/lib/std/cbits/system.c')
0 files changed, 0 insertions, 0 deletions
