home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 19122 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.2 KB

  1. Path: sparky!uunet!psinntp!heimdall!thor!scjones
  2. From: scjones@thor.sdrc.com (Larry Jones)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: speed?  double vs. float.  math.h??
  5. Message-ID: <267@heimdall.sdrc.com>
  6. Date: 1 Jan 93 20:50:47 GMT
  7. References: <1hh801INNab1@agate.berkeley.edu> <PRmewB2w165w@quest.UUCP>
  8. Sender: news@heimdall.sdrc.com
  9. Lines: 16
  10.  
  11. In article <PRmewB2w165w@quest.UUCP>, kdq@quest.UUCP (Kevin D. Quitt) writes:
  12. >     It depends on your machine.  If your machine uses IEEE format
  13. > floating point, and has hardware to do the calculations, then the
  14. > internal calculation format is probably always double, if not long
  15. > double.  (Motorola's FPUs use the 96bit long double format.  Intel's
  16. > FPUs use double format).
  17.  
  18. Not quite -- Intel FPUs normally use an 80 bit long double format
  19. although some operations are affected by a settable precision (float,
  20. double, or long double).  Current FPUs default the settable precision
  21. to long double and Intel recommends leaving it that way.
  22. ----
  23. Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
  24. larry.jones@sdrc.com  or  ...uunet!sdrc!larry.jones
  25. I kind of resent the manufacturer's implicit assumption
  26. that this would amuse me. -- Calvin
  27.