General Decimal Arithmetic

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

General Decimal Arithmetic

Jason Martin
https://urldefense.proofpoint.com/v2/url?u=http-3A__speleotrove.com_decimal_dtnotes.html&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=PhjTCuHOkLXZRKx-8lX4TPC5NRn7Ff0LQo2uaGkixyo&s=VTcpWcIg_uPXC3BK579o6QqYVNK3PatNFjvASvfU1js&e= 

Are these still available?

NetRexx testcases (1996+)

So I do not have to parse the 64,000 to test agorexx

Have not looked everywhere on the site yet.

The Java source code 64K limit is a pain sometimes.


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

Jason Martin
I meant the code that was used to run them.

Was that ever released?

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

ThSITC
In reply to this post by Jason Martin
Interesting QUESTIONS You are asking for, Jason ... :-)

By the WAY: What is AGOREXX?

Thomas Schneider, Vienna, Austria.

==============================================================

Am 08.05.2020 um 21:48 schrieb Jason Martin:
--
This email has been checked for viruses by AVG.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avg.com&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=zBaS5IZ0ifytNG90EkMzF3jq3y0c3FG3ldq8bQ-VTSk&s=HP8x4bScan_mXe4vdUPnXLEuJWLMCTie2aeUlT6X9d4&e= 

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

Dave Woodman
In reply to this post by Jason Martin
Hi Jason,

I believe this is BigDecimal.nrx - released under the ICU

Rene - if we do not have this anywhere, I have a copy, could it be hosted
somewhere?

Dave.

-----Original Message-----
From: [hidden email]
<[hidden email]> On Behalf Of Jason Martin
Sent: 08 May 2020 20:49
To: IBM Netrexx <[hidden email]>
Subject: [Ibm-netrexx] General Decimal Arithmetic

https://urldefense.proofpoint.com/v2/url?u=http-3A__speleotrove.com_decimal_
dtnotes.html&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PU
elvicfHXwtnTXpXE&m=PhjTCuHOkLXZRKx-8lX4TPC5NRn7Ff0LQo2uaGkixyo&s=VTcpWcIg_uP
XC3BK579o6QqYVNK3PatNFjvASvfU1js&e=

Are these still available?

NetRexx testcases (1996+)

So I do not have to parse the 64,000 to test agorexx

Have not looked everywhere on the site yet.

The Java source code 64K limit is a pain sometimes.


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm-2Dnetrexx.215625.n3.nabble.com_&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=8JHsTYUek_iOf6EpwwbabswaaAiOPNAvsfC3Ht0P3jk&s=8pVQU4o9yocpqY9a7eDihu42drMtO9VuIq_xMPZACe0&e= 


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

Jason Martin
In reply to this post by Jason Martin
BigDecimal.nrx might be a big help.

I have used NetRexx to write go code for 17000 plus cases for
Add,Div,DivI,Mult,Pow,Rem,Sub,Eq,Plus,Abs and some of the float functions.

The numbers in some of the test cases do not always match NetRexx.

I am more interested in how NetRexx was used to do some of the operations.

Thomas, agorexx is a golang library of the NetRexx Runtime Library
version 3.02.

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_agrellum_agorexx&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=NeDFUXqBUItfRmnlHrR0IRR-HBBlM2iH-i1OcAIxZ6A&s=YSxqsL5tGbAQxFSUIWTD7uIGCiwD1wTmp_X17WUt8RA&e= 

Not finished but close.

libcalls.go calls 1156 of 1256 code blocks there.

I have not found test cases for some code blocks.

It is faster than the Vala "gobjexx" version

and will also be ported to Nim: https://urldefense.proofpoint.com/v2/url?u=https-3A__nim-2Dlang.org_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=NeDFUXqBUItfRmnlHrR0IRR-HBBlM2iH-i1OcAIxZ6A&s=03CKbdZ0GvrQUgrFNf5uMnT8BqKdEaOXZX6CbCbnorI&e= 

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

ThSITC
In reply to this post by ThSITC
I am currently in my final STAGES, I do hope, working on the public
release of all my SOFT to SourceForge, Project 'ThSITC' ...

I do still have some KNOWLEDGE Gap's of mine relating the usage of $ Git ...

But, as it does look now, I shall have to be resolved that in the next,
coming week.

Have a reluctant WeekEnd, and a GOOD MOTHERS-Day, when You are FEMALE
and are MOTHER's as well.

Kindly, Thomas Schneider, Vienna, Austria (nearly no Kangoroohs there,
it's a real pity :-( )

=================================================================================

Am 08.05.2020 um 22:26 schrieb Thomas Schneider:

> Interesting QUESTIONS You are asking for, Jason ... :-)
>
> By the WAY: What is AGOREXX?
>
> Thomas Schneider, Vienna, Austria.
>
> ==============================================================
>
> Am 08.05.2020 um 21:48 schrieb Jason Martin:
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__speleotrove.com_decimal_dtnotes.html&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=PhjTCuHOkLXZRKx-8lX4TPC5NRn7Ff0LQo2uaGkixyo&s=VTcpWcIg_uPXC3BK579o6QqYVNK3PatNFjvASvfU1js&e= 
>>
>> Are these still available?
>>
>> NetRexx testcases (1996+)
>>
>> So I do not have to parse the 64,000 to test agorexx
>>
>> Have not looked everywhere on the site yet.
>>
>> The Java source code 64K limit is a pain sometimes.
>>
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>> Online Archive : https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm-2Dnetrexx.215625.n3.nabble.com_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=IhffEEU5yUbQpmZMCTdtfS3usVqp2nc6Eu1XXQ1F28k&s=BizaXQAXH3RS95bc8qMR3WBHWylpyBF37b5qhM9yBuo&e= 
>>

--
This email has been checked for viruses by AVG.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avg.com&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=IhffEEU5yUbQpmZMCTdtfS3usVqp2nc6Eu1XXQ1F28k&s=2tjsGKDNToXU05aSqFTKJ35Ny9R477azWP_p6BRGE5U&e= 

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

Mike Cowlishaw
In reply to this post by Jason Martin
 
> I have used NetRexx to write go code for 17000 plus cases for
> Add,Div,DivI,Mult,Pow,Rem,Sub,Eq,Plus,Abs and some of the
> float functions.
>
> The numbers in some of the test cases do not always match NetRexx.

On decimal testcases, you might find the testcases at
https://urldefense.proofpoint.com/v2/url?u=http-3A__speleotrove.com_decimal_-23testcases&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=5m-t2FNmg1H8R7o6gb2iBQA4teSWy2s6TzmjC0dL-HM&s=DJeaQxDuSeZ7M8ttZrPZLfngaGkEeLo9ZdzS046g9WY&e=  useful and maybe even interesting.


Rexx arithmetic (1981) influenced Java BigDecimal in many ways (notably the
addition of MathContext) and both in turn formed the basis of what became
IEEE 754 decimal floating-point arithmetic (IEEE 754-2008; now also
ISO/IEC/IEEE 60559:2011).  This is now the Standard for decimal arithmetic;
really just a minor evolution of the original Rexx arithmetic.  If you are
in the western hemisphere and you carry out a bank transaction, it is almost
certainly using that arithmetic [and my code :-)].

Mike

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

Jason Martin
I have been using them.:-)

Just need to fix and understand some of the things in the code I ported.

On 2020-05-09 10:09, Mike Cowlishaw wrote:

> On decimal testcases, you might find the testcases at
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

Mike Cowlishaw
:-)

Also might be useful is the comparison between IEEE 754 and Rexx decimal
arithmetic (caveat.. may not be up-to-date, but should be 'about right') at:
https://urldefense.proofpoint.com/v2/url?u=http-3A__speleotrove.com_decimal_dax3274.html&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=XHGVqGrK7ZWIZ299AfOAYm8-n4STlkTL2ji95zPGyMs&s=qJ1l2b7hV8undMtPTh9NX90THDYiZP-OeoluiB1hdRs&e= 

Mike
 

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Jason Martin
> Sent: 09 May 2020 15:20
> To: IBM Netrexx
> Subject: Re: [Ibm-netrexx] General Decimal Arithmetic
>
> I have been using them.:-)
>
> Just need to fix and understand some of the things in the
> code I ported.
>
> On 2020-05-09 10:09, Mike Cowlishaw wrote:
>
> > On decimal testcases, you might find the testcases at
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm-2Dnetrexx.215625.n3.nabble.com_&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=XHGVqGrK7ZWIZ299AfOAYm8-n4STlkTL2ji95zPGyMs&s=EfZ1A33DAYO65Ishz295WycfHVjmKIZM4Toj1Z8hS2Q&e= 
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

ThSITC
In reply to this post by Mike Cowlishaw
Could please ANYBODY explain me what is a 'GO Code' ?

I have worked for GEISCO (General Electric Information Services Company,
USA, for Decenniums (long time ago) ...)

BUT I never have seen the Term 'GO Code', sorry to say so :-(

But, as an advantage, however, we DID work with those times with so
called 4GL (Fourth Generation) Languages, in a WORLD WIDE Network, and
have been VERY SUCCESSFUL ;-)

So, and Hence, what is please a 'GO CODE' ?

Never had seen this TERM before...

But Coming from an other ETERNITY (Company) this might maybe
understandable, at least I do HOPE SO :-)

Anyway, do have a reluctant WEEKEND, please!

Thomas.

=====================================================================================

Am 09.05.2020 um 16:09 schrieb Mike Cowlishaw:

>  
>> I have used NetRexx to write go code for 17000 plus cases for
>> Add,Div,DivI,Mult,Pow,Rem,Sub,Eq,Plus,Abs and some of the
>> float functions.
>>
>> The numbers in some of the test cases do not always match NetRexx.
> On decimal testcases, you might find the testcases at
> https://urldefense.proofpoint.com/v2/url?u=http-3A__speleotrove.com_decimal_-23testcases&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=5m-t2FNmg1H8R7o6gb2iBQA4teSWy2s6TzmjC0dL-HM&s=DJeaQxDuSeZ7M8ttZrPZLfngaGkEeLo9ZdzS046g9WY&e=  useful and maybe even interesting.
>
>
> Rexx arithmetic (1981) influenced Java BigDecimal in many ways (notably the
> addition of MathContext) and both in turn formed the basis of what became
> IEEE 754 decimal floating-point arithmetic (IEEE 754-2008; now also
> ISO/IEC/IEEE 60559:2011).  This is now the Standard for decimal arithmetic;
> really just a minor evolution of the original Rexx arithmetic.  If you are
> in the western hemisphere and you carry out a bank transaction, it is almost
> certainly using that arithmetic [and my code :-)].
>
> Mike
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm-2Dnetrexx.215625.n3.nabble.com_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=FDhQ9x-Ho5zvDNnn2MI5Z6TFPRmtasCX_LojfE1EulA&s=Nn6Q_rAjgrb_1PnnlGTZd-Mdve3Frme_9lA09jSANi4&e= 
>

--
This email has been checked for viruses by AVG.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avg.com&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=FDhQ9x-Ho5zvDNnn2MI5Z6TFPRmtasCX_LojfE1EulA&s=HGPQau07tq_JhJDQqbQ6mUsegEszob530Bercf0ag5g&e= 

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

Jason Martin
https://urldefense.proofpoint.com/v2/url?u=https-3A__golang.org_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=NTHXso795_t9ytYip_Db04-U2TJumXuj5Lkb0a9Zy88&s=Vs_hXd1-MMAdduaUIiHEJO6QvuvFXUkAgiXNAEvtZdQ&e= 

On 2020-05-09 10:30, Thomas Schneider wrote:
> Could please ANYBODY explain me what is a 'GO Code' ?
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

ThSITC
Hello Jason Martin!

You are really a HIT !

Did now download GO to my tiny Windows 10 Computer, and I shall try it
the NEXT MONTH!

For this minute, I am concentrating, however, to RELEASE my ancient
Rexx2RTP to Source-Forge, under Project 'ThSITC' ...

Rene Vincent Jansen did advise me, for at Years, the past 10 Years, to
go OPEN SOURCE with my Software,

but I always did REFUSE those hints (BLOODY, now, after those elapsed
times ...)

... As I did want to EARN Money from my INVENTIONS ....

WRONG Decision, I now DO KNOW ...

What shall's, any way, I am now publically RELEASE all of my SOFT.

It shall take a couple of weeks, however, as I am just LEARNING $Git.

Shall take a week, or so, but Then I would have catched $ Git.

Have a reluctant weekend, all, and Stay Healthy in those COVID-19 times,
of course :-)

Thomas.

================================================================================


Am 09.05.2020 um 16:33 schrieb Jason Martin:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__golang.org_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=NTHXso795_t9ytYip_Db04-U2TJumXuj5Lkb0a9Zy88&s=Vs_hXd1-MMAdduaUIiHEJO6QvuvFXUkAgiXNAEvtZdQ&e= 
>
> On 2020-05-09 10:30, Thomas Schneider wrote:
>> Could please ANYBODY explain me what is a 'GO Code' ?
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm-2Dnetrexx.215625.n3.nabble.com_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=9cIDKpK7R_hQqgchzbc-5yCL9Bh24raRk3Q0hDpgKN4&s=zvb9h0wrIrF0CT424BTMu_Hfba-L4nYHC8A3JrxtdcE&e= 
>

--
This email has been checked for viruses by AVG.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avg.com&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=9cIDKpK7R_hQqgchzbc-5yCL9Bh24raRk3Q0hDpgKN4&s=Ybb1QuRWxA11avebKMhxUX51QlrZWGWgOerfiGQaPLc&e= 

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: General Decimal Arithmetic

ThSITC
In reply to this post by Mike Cowlishaw
Could YOU please PUT Your current PICTURES there on NABBLE, so that I
can RECOGNIZE You, as INDIVIDUALS, please ?

Thomas Schneider.

============================================================================================


Am 09.05.2020 um 16:09 schrieb Mike Cowlishaw:

>  
>> I have used NetRexx to write go code for 17000 plus cases for
>> Add,Div,DivI,Mult,Pow,Rem,Sub,Eq,Plus,Abs and some of the
>> float functions.
>>
>> The numbers in some of the test cases do not always match NetRexx.
> On decimal testcases, you might find the testcases at
> https://urldefense.proofpoint.com/v2/url?u=http-3A__speleotrove.com_decimal_-23testcases&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=5m-t2FNmg1H8R7o6gb2iBQA4teSWy2s6TzmjC0dL-HM&s=DJeaQxDuSeZ7M8ttZrPZLfngaGkEeLo9ZdzS046g9WY&e=  useful and maybe even interesting.
>
>
> Rexx arithmetic (1981) influenced Java BigDecimal in many ways (notably the
> addition of MathContext) and both in turn formed the basis of what became
> IEEE 754 decimal floating-point arithmetic (IEEE 754-2008; now also
> ISO/IEC/IEEE 60559:2011).  This is now the Standard for decimal arithmetic;
> really just a minor evolution of the original Rexx arithmetic.  If you are
> in the western hemisphere and you carry out a bank transaction, it is almost
> certainly using that arithmetic [and my code :-)].
>
> Mike
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm-2Dnetrexx.215625.n3.nabble.com_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=XTLzcsCLw_Owbhtnm12-T8nZNw38AYmVgQjYtMDHtBc&s=UZ0zYjcD5J-M9_QquHwrs0q886I6khNTYrUOxeTCdHY&e= 
>

--
This email has been checked for viruses by AVG.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avg.com&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=_6rXNpPJ1fYV-3bV1za02NiR4PUelvicfHXwtnTXpXE&m=XTLzcsCLw_Owbhtnm12-T8nZNw38AYmVgQjYtMDHtBc&s=GAki2jVD5uK2Onb7b0Ee7mNgjfRdQj6le7xmUcfeJ0I&e= 

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com