home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15608 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.2 KB

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