home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Newsgroups: comp.lang.c
- Subject: Re: floating point arithmetic
- Message-ID: <1992Dec23.173246.12385@thunder.mcrcim.mcgill.edu>
- Date: 23 Dec 92 17:32:46 GMT
- References: <BznK8A.1xy@magrana1.uucp>
- Organization: McGill Research Centre for Intelligent Machines
- Lines: 21
-
- In article <BznK8A.1xy@magrana1.uucp>, rob@magrana1.uucp (Rob Duncan) writes:
-
- > Has anyone come across code to implement floating point arithmetic
- > with C integers?
-
- I did. I built a PDP-11 assembler, and of course wanted the assembler
- to do arithmetic using PDP-11 floats, even if the native floating point
- format of the machine it's running on bore no resemblance to the
- PDP-11's. Of course, it doesn't do lots of things IEEE floats do, like
- infinities and denormalized numbers and NaNs, 'cause they don't exist
- in PDP-11 floats, but it may be useful as a starting point.
-
- It's all up for anonymous ftp from larry.mcrcim.mcgill.edu
- (132.206.1.1) in /pdp11. The directory is a bit messy, because that's
- the directory I work in when working with the '11 stuff, but ya pays
- yer money and ya takes yer chances.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-