(unknown charset) [BLACKBOX] Unsigned Integer Arithmetic

From: (unknown charset) Oleg N. Cher <"Oleg>
Date: Fri, 1 Jun 2012 14:31:08 +0300

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

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----boundary-LibPST-iamunique-1104667212_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccG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NzYWdlIHdpdGggYm9k
eSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIfX0ASVBJRQ==
----boundary-LibPST-iamunique-1104667212_-_---
Received on Fri Jun 01 2012 - 13:31:08 UTC

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