home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cbmvax!cbmehq!cbmger!edohwg!heinz
- From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Help - IFF files used to store DOUBLES
- Message-ID: <heinz.04ad@edohwg.adsp.sub.org>
- Date: 28 Oct 92 20:37:23 GMT
- References: <1992Oct27.142015.2635@brandonu.ca>
- Organization: Edotronik GmbH
- Lines: 20
-
- In article <1992Oct27.142015.2635@brandonu.ca> brycerw@brandonu.ca writes:
- >file. No problem yet. What is the best format to store DOUBLES in an IFF
- >file to maintain consistency in machine-independence. These files will
-
- Store them in ASCII format.
-
- Well, you could use the IEEE double precision format if you state _clearly_
- if you work it MSB--LSB or LSB--MSB. But for an IFF format (that is
- Interchange) I suggest simply using a sprintf(..., "%ld", ...) like call.
- Might take a little longer but: So what. It's easy to use.
-
- >--Rob
-
- --
- Heinz Wrobel, Edotronik GmbH (ECG018)
- FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
- Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
- "It's good to have a mouse, it's faster if you can do without one..."
- "He who doesn't develop with an A2024 doesn't know about font independent
- user interfaces..."
-