Commit 7d589c31 authored by rrt's avatar rrt
Browse files

[project @ 2001-10-31 16:38:55 by rrt]

Beginnings of .NET Integer support.
parent acbba586
% ------------------------------------------------------------------------------
% $Id: PrelNum.lhs,v 1.41 2001/10/03 13:57:42 simonmar Exp $
% $Id: PrelNum.lhs,v 1.42 2001/10/31 16:38:55 rrt Exp $
%
% (c) The University of Glasgow, 1994-2000
%
......@@ -109,7 +109,13 @@ divModInt x@(I# _) y@(I# _) = (x `divInt` y, x `modInt` y)
\begin{code}
data Integer
= S# Int# -- small integers
#ifndef ILX
| J# Int# ByteArray# -- large integers
#else
| J# Void BigInteger -- .NET big ints
foreign type dotnet "BigInteger" BigInteger
#endif
\end{code}
Convenient boxed Integer PrimOps.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment