Post Reply 
List Commands Library for 50g
10-22-2017, 07:29 PM
Post: #221
RE: List Commands Library for 50g
Release Candidate 1 Posted

Testing for the ListExt library has gone well, and I've now been able to test all functions in a variety of settings on several different platforms. Specifically, the following emulated systems:

- 49G
- 48gii
- 49g+
- 50g

...and the following real hardware:

- 49g+
- 50g

In each case, the library was tested from all applicable ports and both in exact and approximate modes for all commands.

Several issues were discovered during testing (see the release notes for details). All were fixed in the "RC1" release attached to the first post in this thread. The command description documentation was also updated to reflect the current status of all commands.

I believe the library is now in a final state and "ready for prime time". In order to make it easier to test every command, I've included a special TESTALL command for this release on the second page of the main menu (you'll see it in the middle showing as "TESTA"). It would be wonderful if some of you would run that command on your systems and let me know the results. TESTALL checks each command in a variety of ways, including standard uses, edge cases, and any designated error traps. Verbose results are saved in a string stored in your HOME directory named "LETestResults". TESTALL by itself is larger than the combined code for the rest of the library, so it will of course be removed for the final release.

I'd be most grateful if someone who has access to a real 49G and/or 48gii could run TESTALL on those systems. While it runs successfully on emulated versions of them, I'd still like to hear from anyone that can verify it on real hardware. For a general frame of reference, TESTALL completes on my 50g (port0/approximate mode) in about 74 seconds. When run from port 1 in exact mode, it takes about 95 seconds.
Find all posts by this user
Quote this message in a reply
10-22-2017, 10:52 PM
Post: #222
RE: List Commands Library for 50g
In Port 2 on a real 50g, about 95s in exact mode, 93s in real mode. All tests passed.
Find all posts by this user
Quote this message in a reply
10-22-2017, 11:37 PM
Post: #223
RE: List Commands Library for 50g
Thanks John!
Find all posts by this user
Quote this message in a reply
10-31-2017, 02:04 PM
Post: #224
RE: List Commands Library for 50g
The final version (1.1.2) of the ListExt library has now been posted to the General Software Library!

I was able to complete testing on a 49g successfully, which found no problems with the library on that platform. Interestingly I did run across a bug in the 1.19-6 ROM, though, specifically pertaining to the result of an exact integer list being multiplied by an exact integer constant -- which mysteriously gets converted to a real result. This is probably documented somewhere, though I don't recall seeing it. You can see this simply by executing "{ 2 } 3 *" on a 49g set to Exact mode with this ROM version. The result is a real { 6. } instead of integer { 6 } as it is on later ROM versions. The bug doesn't happen if you reverse the order of the arguments, so it's probably specific to the dispatch code handling in that ROM release.

In case anyone still tries to run TESTALL (if you still have the release candidate), there was a problem with it that occurs if you have the fraction mark set to comma (I know, I should have realized that one in advance). It will report failures of at least 8 tests in that scenario. The problem wasn't with the library, it was with TESTALL. I fixed the bug, but that command was removed from the final version so the fix will only apply to any future release.

Other than cosmetic changes to the About text (and removing TESTALL), the only change since the release candidate was a performance enhancement for LSEQ and LSEQR. The results of those commands are now built from scratch without using any of the built-in math functions, which cuts out the "middle man" in the main loop. As a result, they are quite zippy. Because there's more data to move with reals than there is with integers, real results are actually a bit slower than integers now. But you won't be waiting much on those commands to finish. 15000 LSEQ now completes in 1.93s (approximate mode) and 1.56s (exact mode). More down-to-earth list sequences finish much faster, of course.

Thanks again to everyone who participated with this project!
Find all posts by this user
Quote this message in a reply
10-31-2017, 03:37 PM
Post: #225
RE: List Commands Library for 50g
(10-31-2017 02:04 PM)DavidM Wrote:  The final version (1.1.2) of the ListExt library has now been posted to the General Software Library!

Bravo ! ;D

It would be nice to post ListExt on HPCALC.org too
Find all posts by this user
Quote this message in a reply
10-31-2017, 03:44 PM
Post: #226
RE: List Commands Library for 50g
(10-31-2017 03:37 PM)Gilles59 Wrote:  Bravo ! ;D

It would be nice to post ListExt on HPCALC.org too

Thanks, Gilles. I’ve already submitted it there. Apparently there’s also an older version there that someone else already uploaded — I’ve asked Eric to replace the older one with the final release. I’m sure he will tak care of it when he gets a chance.
Find all posts by this user
Quote this message in a reply
11-01-2017, 01:35 PM
Post: #227
RE: List Commands Library for 50g
Excellent! Congratulations on a job well done!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)