|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 (Alan Lehotsky)|
|Keywords:||arithmetic, question, comment|
|Organization:||Mercury Computer Systems, Inc.|
|Date:||Thu, 12 Oct 1995 13:48:12 GMT|
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).
I already checked the math software archives at netlib, et al.
Thanks in advance
-- Al Lehotsky
[There's always the ones in Knuth. -John]
Return to the
Search the comp.compilers archives again.