[plt-scheme] Fixed size integer arithmetic

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jul 7 11:46:30 EDT 2004

At Wed, 7 Jul 2004 08:32:25 -0700 (PDT), Noel Welsh wrote:
>   - implement fixed size arithmetic using the provided bit
> manipulation operators

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.)

Matthew



Posted on the users mailing list.