Re: [BLACKBOX] Negation

From: [at]} <Wojtek>
Date: Thu, 14 Jul 2011 18:13:09 -0400

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

It is true in any programming language.

W

> I just learned that in CP one can not negate an integer type (BYTE,
> SHORTINT, INTEGER, LONGINT)
> because the ABS(MIN(type)) # MAX(type), i.e. the range is not
> symmetric about zero.
>
> That caught me off guard.
>
> -Doug Danforth
>
>
> ---- 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-478945608_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEl0IGlzIHRydWUgaW4gYW55IHByb2dyYW1taW5n
IGxhbmd1YWdlLlxwYXINClxwYXINCldccGFyDQpccGFyDQo+ICAgICAgSSBqdXN0IGxlYXJuZWQg
dGhhdCBpbiBDUCBvbmUgY2FuIG5vdCBuZWdhdGUgYW4gaW50ZWdlciB0eXBlIChCWVRFLFxwYXIN
Cj4gICBTSE9SVElOVCwgSU5URUdFUiwgTE9OR0lOVClccGFyDQo+ICAgICAgYmVjYXVzZSB0aGUg
QUJTKE1JTih0eXBlKSkgIyBNQVgodHlwZSksIGkuZS4gdGhlIHJhbmdlIGlzIG5vdFxwYXINCj4g
c3ltbWV0cmljIGFib3V0IHplcm8uXHBhcg0KPlxwYXINCj4gICAgICBUaGF0IGNhdWdodCBtZSBv
ZmYgZ3VhcmQuXHBhcg0KPlxwYXINCj4gICAgICAtRG91ZyBEYW5mb3J0aFxwYXINCj5ccGFyDQo+
XHBhcg0KPiAgLS0tLSBUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJT
SUdOT0ZGIEJMQUNLQk9YIiB0b1xwYXINCj4gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0K
XHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRo
IGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk99fQDjfgBYAwAAGgAA
ABs
----boundary-LibPST-iamunique-478945608_-_---
Received on Fri Jul 15 2011 - 00:13:09 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:12 UTC