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