home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!spool.mu.edu!uwm.edu!linac!att!cbnewse!cbnewsd!att-out!pacbell.com!well!well.sf.ca.us!shf
- From: shf@well.sf.ca.us (Stuart H. Ferguson)
- Subject: Re: Help - IFF files used to store DOUBLES
- Message-ID: <shf.720953994@well.sf.ca.us>
- Sender: news@well.sf.ca.us
- Organization: Whole Earth 'Lectronic Link
- References: <1992Oct27.142015.2635@brandonu.ca>
- Date: Thu, 5 Nov 1992 08:59:54 GMT
- Lines: 14
-
- In <1992Oct27.142015.2635@brandonu.ca> brycerw@brandonu.ca writes:
- > [...] What is the best format to store DOUBLES in an IFF
- >file to maintain consistency in machine-independence. These files will
- >inevitably be used on PC's, and vax's, as well as other amigas.
-
- I would use IEEE, since this is a published and common standard. I believe
- the DR2D format stores IEEE single precision floats. Unless you need the
- *super* precision of doubles, I would just write singles. Since you are
- using a math co-processor on your Amiga, the values in memory are IEEE format,
- so you can just dump the bits directly and get a machine-independent
- file.
- --
- Stuart Ferguson (shf@well.sf.ca.us)
- Prepare to Surge to Sublight Speed!
-