home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / acorn / tech / 5 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1000 b 

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