[plt-scheme] Fixed size integer arithmetic
At Thu, 8 Jul 2004 00:48:58 -0700 (PDT), Noel Welsh wrote:
> --- Matthew Flatt <mflatt at cs.utah.edu> wrote:
> > That's what I did last time I needed 32-bit arithmetic.
> >
> > Furthermore, to avoid allocating bignums, I broke the
> > numbers into
> > 16-bit halves and returned them using `values'. (Yes,
> > even less
> > pleasant.)
>
> I don't which amazes me more: the effort you must have put
> in to get this code working, or that, as the primary
> developer, you didn't simply add 32-bit arithmetic
> primitives to MzScheme!
FWIW, it's because I was concerned about allocation. MzScheme can't
accommodate unboxed 32-bit integers, so there wasn't much to gain from
new primitives.
Matthew