home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!comp.vuw.ac.nz!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jwil1
- Newsgroups: comp.sys.acorn.tech
- Subject: Re: C Time Trials/Comparison
- Message-ID: <1992Jul29.072449.12638@cs.aukuni.ac.nz>
- From: jwil1@cs.aukuni.ac.nz (TMOTA)
- Date: Wed, 29 Jul 1992 07:24:49 GMT
- Sender: jwil1@cs.aukuni.ac.nz (TMOTA)
- References: <1992Jul28.024814.1386@mnemosyne.cs.du.edu>
- Organization: Computer Science Dept. University of Auckland
- Lines: 12
-
- amell@nyx.cs.du.edu (Andrew P.Mell) writes:
-
- >integer multiply is compared to the integer divide. Why is the float
- >multiply faster than add/subtract?
-
- Because to multiply floats, you multiply the mantissas, and ADD the
- exponents, while to +/-, you have to normalise first... The normalisation
- process is a lot slower than the whole multiply process...
- --
- _________________ "I'd like to answer this question in two ways:
- /____ _ _/_ __ First in my normal voice, and then
- // / //_//_ /_/ in a silly, high-pitched whine." (Monty Python)
-