- GOTOs

From: CFB Software <"CFB>
Date: Fri, 28 Oct 2005 13:12:54 +0930

----boundary-LibPST-iamunique-2006807452_-_-
Content-type: text/plain

> -----Original Message-----
> From: blackbox{([at]})nowhere.xy
> Behalf Of Campbell, Robert D (SELEX) (UK Edinburgh)
> Sent: Thursday, 27 October 2005 5:37 PM
> To: BlackBox Mailing List
> Subject: [BlackBox] - GOTOs
>
>
> But I did finally come up with a general purpose technique
> that, I guess, could be automated. It does nothing to make
> the code comprehensible, it has no pretensions to efficiency,
> but it did allow me to produce a useful outcome. (I don't use
> it often, but by coincidence I used it yesterday, and once in
> February!)

Ingenious! However, this approach would really have to be a very last,
desperate, resort.

How are you able to have any trust in the results of a program that is
so incomprehensible?

>
> To complete the circle of this correspondence this algorithm
> (Remez) is discussed in Numerical Recipes. The authors
> acknowledge that the results are 'Optimum', but they do not
> like or include it because it is too complicated to code.
> They advocate a different simpler approach whose results are
> 'nearly as good' (which means 'not as good'!).
>

A quick Google search revealed an alternative implementation (?) of the
Remez Algorithm in C. I might be on the wrong track altogether. Knowing
absolutely nothing at all about the underlying theory I'm unable to
judge whether or not this is a solution to the same problem, or whether
it has any use.

However, this one I was able to read and have some confidence that I
would be able to debug it if necessary:

http://www.janovetz.com/jake/remez/remez-19980711.zip

It would not be too difficult to translate it into Oberon / CP.

Hmmm ... maybe a C to Oberon translator should be the next project ...

Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-2006807452_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7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aGlu
ZyBhdCBhbGwgYWJvdXQgdGhlIHVuZGVybHlpbmcgdGhlb3J5IEknbSB1bmFibGUgdG9ccGFyDQpq
dWRnZSB3aGV0aGVyIG9yIG5vdCB0aGlzIGlzIGEgc29sdXRpb24gdG8gdGhlIHNhbWUgcHJvYmxl
bSwgb3Igd2hldGhlclxwYXINCml0IGhhcyBhbnkgdXNlLiBccGFyDQpccGFyDQpIb3dldmVyLCB0
aGlzIG9uZSBJIHdhcyBhYmxlIHRvIHJlYWQgYW5kIGhhdmUgc29tZSBjb25maWRlbmNlIHRoYXQg
SVxwYXINCndvdWxkIGJlIGFibGUgdG8gZGVidWcgaXQgaWYgbmVjZXNzYXJ5OiBccGFyDQpccGFy
DQpodHRwOi8vd3d3Lmphbm92ZXR6LmNvbS9qYWtlL3JlbWV6L3JlbWV6LTE5OTgwNzExLnppcCBc
cGFyDQpccGFyDQpJdCB3b3VsZCBub3QgYmUgdG9vIGRpZmZpY3VsdCB0byB0cmFuc2xhdGUgaXQg
aW50byBPYmVyb24gLyBDUC4gXHBhcg0KXHBhcg0KSG1tbSAuLi4gbWF5YmUgYSBDIHRvIE9iZXJv
biB0cmFuc2xhdG9yIHNob3VsZCBiZSB0aGUgbmV4dCBwcm9qZWN0IC4uLlxwYXINClxwYXINCkNo
cmlzIEJ1cnJvd3NccGFyDQpDRkIgU29mdHdhcmVccGFyDQpodHRwOi8vd3d3LmNmYnNvZnR3YXJl
LmNvbS9ncGNwXHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94XHBhcg0KLS0tIHNlbmQgc3ViamVjdCBI
RUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaH19AGFtcC52ZXJ3YWw=


----boundary-LibPST-iamunique-2006807452_-_---
Received on Fri Oct 28 2005 - 05:42:54 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:07 UTC