🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13136

Re: Revised DR2D specification

#13136
From: Bela Lubkin
Date: Sun, 17 Dec 1989 00:00
29 lines
1800 bytes
In article <9310006@hpfcso.HP.COM> Ross Cunniff writes:
>Here is a revised DR2D format that responds to some of the comments
>posted here or e-mailed.  The changes include:
[...]
>The single change which some people have requested that is NOT here is:
>coordinates are still in IEEE format.  The arguments for changing them are:
>
>	* Hard to read and parse
>		not true; see my previous response on this where I give
>		a 20-line C routine to convert to fixed-point notation
[...]

Ross, I think you miss the point of this argument.  >*It is not always
POSSIBLE to insert an arbitrary 20 lines of C code*< into a program.
Where does this leave programmers who are writing in BASIC, Forth, Lisp,
ARexx, database languages, etc.?  There are some now, there will be more
later, programs and programming languages that have built-in tools for
manipulating IFF structures but which have no support either for IEEE
number formats OR bit-twiddling.  Up to now the IFF spec has been kept
free of floating point.  Whatever your arguments for it, they are not as
strong as that.

Here is one line of C code to translate from integer to IEEE:

  coordinate=icoordinate*scalefactor;

Bela Lubkin    * *    //  filbo@gorn.santa-cruz.ca.us  CI$: 73047,1112 (slow)
     @       * *     //  belal@sco.com  ..ucbvax!ucscc!{gorn!filbo,sco!belal}
R Pentomino    *   \X/  Filbo @ Pyrzqxgl +408-476-4633 and XBBS +408-476-4945
Technical Details
Message-ID: <107.filbo@gorn.santa-cruz.ca.us>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!sco!gorn!filbo
References: <9310006@hpfcso.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!sco!gorn!filbo
From: filbo@gorn.santa-cruz.ca.us (Bela Lubkin)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Revised DR2D specification
Message-ID: <107.filbo@gorn.santa-cruz.ca.us>
Date: 17 Dec 89 00:00:14 GMT
References: <9310006@hpfcso.HP.COM>
Lines: 29
X-Claimer: I >am< R Pentomino!