(unknown charset) [BLACKBOX] Fwd: Re: [BLACKBOX] Unsigned Integer Arithmetic

From: (unknown charset) [at]} <Robert>
Date: Sat, 2 Jun 2012 09:26:41 +0100

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

-------- Original Message --------
Subject: Re: [BLACKBOX] Unsigned Integer Arithmetic
Date: Fri, 01 Jun 2012 21:54:26 +0100
From: Robert <robert.campbell_{([at]})nowhere.xy
To: Oleg N. Cher <allot{([at]})nowhere.xy


Oleg

You are welcome to use these Cardinals modules with your version of BlackBox.

I am just glad someone appreciates the work.


I am making lot of changes to the Multi Subsystem at the moment - many of the
other modules are being replaced by versions which use these Cardinals modules
to implement base 2^32 arbitrary precision which is significantly more efficient
than the current base 2^15 versions. So I would prefer not to change the CPC
subsystem until I can update it all consistently.



I am just leaving for a summer holiday, so if you do write again don't worry if
I am slow to reply.


Regards

Robert


On 01/06/2012 12:31, Oleg N. Cher wrote:
> Dear Robert,
>
> I have looked your modules for work with unsigned types.
> Looks enough fundamental. Yes, I like this! You've shown me way how to add
> unsigned arithmetic to BlackBox simply and portable. If you want, we will send a
> proposition to Helmut Zinn to update your subsystem Multi by adding the modules
> MultiCardAsm and MultiCardinals from your post. If you like this idea.
>
> Even after I made changes to Ofront translator, I began to think to the adding
> of unsigned arithmetic, not by rewriting the translator, but by adding a module
> that implements operations on unsigned types of signs Oberon. By using a C
> preprocessor, I could realize the unsigned operations without overhead. Of
> course, in the second case, the operation will be written more cumbersome, ie
> instead of c: = a * b to c: = U.Mult (a, b), which deploys the preprocessor is
> not in a procedure call, and the equivalent of an unsigned multiplication in C
> language. The your method is more acceptable, because more compatible (on
> interface level-layer) and more traditional for Oberons.
>
> Also I've question to you. Can you allow me to add this modules to my own fork
> of BlackBox that is distributed under BB license? Of course, all documents will
> be added completely without any changes. And with saving of your original
> copyrights. Thank you!
>
> --
> Oleg N. Cher
> http://zx.oberon2.ru/
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2178 / Virus Database: 2425/5036 - Release Date: 05/31/12
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-381320611_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIC0tLS0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0t
LS0tLS1ccGFyDQpTdWJqZWN0OiBSZTogW0JMQUNLQk9YXSBVbnNpZ25lZCBJbnRlZ2VyIEFyaXRo
bWV0aWNccGFyDQpEYXRlOiBGcmksIDAxIEp1biAyMDEyIDIxOjU0OjI2ICswMTAwXHBhcg0KRnJv
bTogUm9iZXJ0IDxyb2JlcnQuY2FtcGJlbGxfQHRpc2NhbGkuY28udWs+XHBhcg0KVG86IE9sZWcg
Ti4gQ2hlciA8YWxsb3RAQksuUlU+XHBhcg0KXHBhcg0KXHBhcg0KT2xlZ1xwYXINClxwYXINCllv
dSBhcmUgd2VsY29tZSB0byB1c2UgdGhlc2UgQ2FyZGluYWxzIG1vZHVsZXMgd2l0aCB5b3VyIHZl
cnNpb24gb2YgQmxhY2tCb3guXHBhcg0KXHBhcg0KSSBhbSBqdXN0IGd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mQgaW4gdGhpcyBtZXNzYWdlLlxwYXINCj4gQ2hlY2tlZCBieSBBVkcgLSB3d3cu
YXZnLmNvbVxwYXINCj4gVmVyc2lvbjogMjAxMi4wLjIxNzggLyBWaXJ1cyBEYXRhYmFzZTogMjQy
NS81MDM2IC0gUmVsZWFzZSBEYXRlOiAwNS8zMS8xMlxwYXINCj5ccGFyDQo+XHBhcg0KXHBhcg0K
XHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkg
IlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSFxwYXINCn0=
----boundary-LibPST-iamunique-381320611_-_---
Received on Sat Jun 02 2012 - 10:26:41 UTC

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