Re: [BLACKBOX] CONSTant expressions

From: [at]} <Les>
Date: Thu, 17 Jan 2008 14:42:40 +0000

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

POW Oberon will not compile it either.

Les May


Campbell, Robert D (SELEX) (UK Edinburgh) wrote:
> Folks
>
> This is not the most important problem ever, but
> the list has been fairly quiet recently ...
>
> I think that the compiler is overly strict in forbidding:
>
> CONST
> a = 1.;
> b = 1.;
> c = 2.;
> d = c / (a - b);
>
>
> In a language that supports INF why is division by 0
> SOMETIMES forbidden?
>
> (I was working out the Tangent of 90 degrees, and INF is
> a perfectly reasonable value.)
>
>
> Regards
>
> Robert
>
>
> ps - I wonder what GPCP does - it is generally stricter than Oms?
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
> A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
>
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-132915460_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYm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iU0lHTk9G
RiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KPlxwYXINCj5ccGFy
DQo+ICAgXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEg
bWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9C
RVJPTi59fQBhaWx0bzo=
----boundary-LibPST-iamunique-132915460_-_---
Received on Thu Jan 17 2008 - 15:42:40 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:10 UTC