|Looking for software implementation of integer div, rem, mod firstname.lastname@example.org (1995-10-12)|
|Re: Looking for software implementation of integer div, rem, mod ddunfield@BIX.com (1995-10-22)|
|Re: Looking for software implementation of integer div, rem, mod email@example.com (1995-10-23)|
|From:||firstname.lastname@example.org (Henry Baker)|
|Date:||Mon, 23 Oct 1995 16:40:05 GMT|
email@example.com (Alan Lehotsky) wrote:
> I'm looking for a software implementation of 32/32 divide, with and
> without remainder and modulus.
> C code is preferred. An implementation that uses only
> shifts, adds (and/or multiplies) would be ideal. The chip I'm working
> with has no divide assists (except for single-precision float, where
> it has the ability to compute an inverse).
You might look at
ftp://ftp.netcom.com/pub/hb/hbaker/AB-mod-N.html (also .ps.Z)
Return to the
Search the comp.compilers archives again.