Skip to content
Snippets Groups Projects
Commit 9c370d69 authored by Simon Marlow's avatar Simon Marlow
Browse files

[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.
parent 60741e42
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment