Request for multiply/divide routines.

Duane Hentrich baba at tymix.UUCP
Fri Mar 14 09:57:44 AEST 1986


Greetings net people.

I am looking for two routines/algorithms:

1.	multiply two 32-bit unsigned integers giving a 64-bit result
	stored in two 32-bit variables.

2.	divide a 64-bit integer, contained in two 32-bit variables,
	by a 32-bit divisor giving a 32-bit signed remainder and a 32-bit
	quotient.

Pointers to algorithms, flow charts, and even actual C code are all 
appreciated.  Email is preferred.  Will post responses if there is 
enough interest.

Thank you for your kind attention,

Baba Rum Dudu	(aka Duane Hentrich)



More information about the Comp.lang.c mailing list