[comp.sources.wanted] Floating point arithmetic library

gordoni@chook.adelaide.edu.au (Gordon Irlam) (08/02/90)

Does anyone know of any sources to a floating point arithmetic library?

We are porting software to a SPARC based machine without a floating point
unit, and need some way of simulating the basic floating point operations
(addition, multiplication etc.).  Performance is not an issue.  C, or
Fortran routines that we can compile to get SPARC code would be fine.

Here is what we have come across so far.

The Sytem V sources include a floating point library for the 3b series,
however this is 250k of assembly code; something we are not keen to
convert to SPARC assembly code.

Peter Housel (housel@ecn.purdue.edu) has written a floating point
library for Minix.  This looks like being easier to port, but it still
involves 40k of 8086 assembly code.

Any additions to the above list would be most welcome.

While I'm at it, has anyone typed in the example integer multiplication
and division routines, that are shown in all the SPARC books.  Or does
anyone have any similar routines that they could send us.

                        Gordon Irlam (gordoni@cs.adelaide.edu.au)
                        Computer Science, Adelaide University.