home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!mojo.eng.umd.edu!russotto
- From: russotto@eng.umd.edu (Matthew T. Russotto)
- Subject: Re: AIFF and 'extended' type
- Message-ID: <1992Aug20.013819.7382@eng.umd.edu>
- Date: Thu, 20 Aug 92 01:38:19 GMT
- Organization: College of Engineering, University of Maryland, College Park
- References: <1992Aug17.204116.11424@nosc.mil> <1992Aug19.100049.10187@waikato.ac.nz>
- Lines: 16
-
- In article <1992Aug19.100049.10187@waikato.ac.nz> ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
- >
- >It's interesting that Apple's guidelines state that the extended type is
- >only meant for intermediate temporary values, to minimize rounding errors
- >in multi-step calculations: you should *not* use it as a type for permanent
- >storage of data. And yet they go and break their own guidelines with AIFF...
-
- That's because the 64-bit type (COMP in pascal, I don't remember in
- 'C'-- possibly "short double") is dog-slow due to all the
- conversions, and really wrecks the advantage of an FPU, too.
-
- --
- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu
- Some news readers expect "Disclaimer:" here.
- Just say NO to police searches and seizures. Make them use force.
- (not responsible for bodily harm resulting from following above advice)
-