home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!aukuni.ac.nz!ecmtwhk
- Newsgroups: comp.programming
- Subject: Re: floating point routines with double precision
- Message-ID: <1992Jul24.020828.11240@ccu1.aukuni.ac.nz>
- From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig)
- Date: Fri, 24 Jul 1992 02:08:28 GMT
- References: <2A65BFF1.14443@noiro.acs.uci.edu>
- Organization: University of Auckland, New Zealand.
- Lines: 20
-
- jtien@venice.eng.uci.edu (Joe Tien) writes:
-
- >Does anyone know where I can get floating point routine using double precision?
- >The CPU I'm working on doesn't have a FPU so all the fp operations needs to be
- >done in software. What I plan to do is take the fp routines in C and
- >hand-translate them to assembly code (I don't have a compiler either, :-( )
-
- Take a look at the source of the GNU-C distribution for the Atari ST at
- atari.archive.umich.edu [141.211.164.8]; it's got double precision
- routines. The basic routines are written in 68000 assembler (which is
- one of the nicer assembler languages around); the higher functions
- (sin, cos, exp) are contained in the pml library and written in C.
- They do use IEEE format, but I don't think they actually implement the
- standard with respect to NaN's, INF and gradual underflow.
-
- Hope this helps
- --
- Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de
- The joy of engineering is to find a straight line on a double logarithmic
- diagram.
-