HP Forums
WP 34S and 31S bugs and fixes - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: WP 34S and 31S bugs and fixes (/thread-2476.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


RE: WP 34S and 31S bugs and fixes - d b - 10-02-2015 03:21 AM

(10-01-2015 03:37 PM)fhub Wrote:  
(09-23-2015 08:54 AM)Paul Dale Wrote:  Thirty two minute bug fix time -- a new record for the 34S project.
Smile

Still no build eight days after a bug fix -- also a new record for the 34S project.
Sad

Franz

Franz- If I heard the scuttlebutt correctly at HHC; Pauli is so busy with work that the 43 project may have to do mostly without him. That's great news for Pauli (i guess) but it'll be a loss for the rest of us. Not posting the newest build immediately is minor. I don't want the 34s to be the most important thing in his life. I'll settle 6th or 7th.


RE: WP 34S and 31S bugs and fixes - Paul Dale - 10-02-2015 04:25 AM

Marcus is really busy with work at the moment I believe and he's the one who does builds.

I'm also frightfully busy at work at the moment and for the foreseeable future. I've little motivation to do more work once I get home. I only put in a token effort at this year's programming challenge which is a first.

As for the 43S, I'm going to have to wait and see.


Pauli


RE: WP 34S and 31S bugs and fixes - pascal_meheut - 10-02-2015 05:08 AM

I've uploaded new versions of the Qt emulators.


RE: WP 34S and 31S bugs and fixes - Marcus von Cube - 10-04-2015 05:19 PM

(10-02-2015 05:08 AM)pascal_meheut Wrote:  I've uploaded new versions of the Qt emulators.

I've committed a new build to SF. W34S exists in two variants. The latest has an experimental feature: complex lettered registers have been renamed (cX<> Z now reads cX<> cY). The next older revision is just a new build of the standard version.


RE: WP 34S and 31S bugs and fixes - John Smitherman - 10-04-2015 05:35 PM

Version 3810 loaded successfully for me.

Thanks WP 34s support team.


John


RE: WP 34S and 31S bugs and fixes - emece67 - 10-05-2015 02:12 PM

(10-04-2015 05:19 PM)Marcus von Cube Wrote:  
(10-02-2015 05:08 AM)pascal_meheut Wrote:  I've uploaded new versions of the Qt emulators.

I've committed a new build to SF. W34S exists in two variants. The latest has an experimental feature: complex lettered registers have been renamed (cX<> Z now reads cX<> cY). The next older revision is just a new build of the standard version.

Does this new variant also work in the complex lock mode?

Regards.


RE: WP 34S and 31S bugs and fixes - Marcus von Cube - 10-05-2015 07:54 PM

(10-05-2015 02:12 PM)emece67 Wrote:  Does this new variant also work in the complex lock mode?

The latter s an independent development which I'm hardly familiar with. I leave it to the authors to adopt my changes to the original code. The code can be easily identified because its surrounded by #ifdef SHOW_COMLEX_REGS/#endif.

The option is still incomplete because it's unknown to the assembler/disassembler tools. Neil might be of some help here. Wink


RE: WP 34S and 31S bugs and fixes - emece67 - 12-20-2015 10:08 PM

I've found what I think is a bug.

In short, the complex version of y^x gives a domain error, instead of 0+0j, when the argument in ZT is also 0+0j.

This happens with any exponent in XY.

Looking in the sources seems that the complex y^x operation is computed via exp(ln(y)*x), but the code does not check the special case y = 0 prior to computing ln(y). The complex cubic root also suffers from this.

Regards.


RE: WP 34S and 31S bugs and fixes - Marcus von Cube - 12-20-2015 10:31 PM

This is likely a problem in all versions of WP 34S. I leave it to Pauli to have a look at it. I'll take care of the builds then.


RE: WP 34S and 31S bugs and fixes - Paul Dale - 12-20-2015 11:08 PM

(12-20-2015 10:31 PM)Marcus von Cube Wrote:  This is likely a problem in all versions of WP 34S. I leave it to Pauli to have a look at it. I'll take care of the builds then.

Patch done.

0^0 is a domain error. 0^z, z not 0 is (1,0).


Pauli


RE: WP 34S and 31S bugs and fixes - emece67 - 12-21-2015 01:44 AM

(12-20-2015 11:08 PM)Paul Dale Wrote:  Patch done.

0^0 is a domain error. 0^z, z not 0 is (1,0).

Working. Thanks!!


RE: WP 34S and 31S bugs and fixes - pascal_meheut - 12-21-2015 06:13 AM

I have also updated the Qt emulators


RE: WP 34S and 31S bugs and fixes - Marcus von Cube - 12-21-2015 09:09 AM

All branches are rebuilt.

In addition, the 34S release package has been updated to the current build.

Edit: Added wp31s.zip Smile


RE: WP 34S and 31S bugs and fixes - Pascal - 12-21-2015 04:40 PM

Thank you very much for the updates!

Will you also submit an updated version for iOS devices? That would be really useful. By the way, the WP34s is used as the "scientific calculator reference app" in iPad classes here in Luxembourg.

Best regards.


RE: WP 34S and 31S bugs and fixes - emece67 - 12-21-2015 05:38 PM

(12-20-2015 11:08 PM)Paul Dale Wrote:  0^0 is a domain error. 0^z, z not 0 is (1,0).

Well, in fact not working.

0^0 is domain error (OK)
0^z, z not 0 is (1, 0), but must be (0, 0)
z^0, z not zero is (1, 0), (OK)

Code:
    if (dn_eq0(a) && dn_eq0(b)) {
        if (dn_eq0(c) && dn_eq0(d))
            cmplx_NaN(rx, ry);
        else {
            dn_1(rx);
            decNumberZero(ry);
        }
    } else {
        cmplxLn(&e1, &e2, a, b);
        cmplxMultiply(&f1, &f2, &e1, &e2, c, d);
        cmplxExp(rx, ry, &f1, &f2);
    }

must be:

Code:
    if (dn_eq0(a) && dn_eq0(b)) {
        if (dn_eq0(c) && dn_eq0(d))
            cmplx_NaN(rx, ry);
        else {
            decNumberZero(rx);
            decNumberZero(ry);
        }
    } else {
        cmplxLn(&e1, &e2, a, b);
        cmplxMultiply(&f1, &f2, &e1, &e2, c, d);
        cmplxExp(rx, ry, &f1, &f2);
    }

Regards.


RE: WP 34S and 31S bugs and fixes - walter b - 12-21-2015 05:59 PM

(12-21-2015 04:40 PM)Pascal Wrote:  By the way, the WP34s is used as the "scientific calculator reference app" in iPad classes here in Luxembourg.

Wow, I didn't even know a "scientific calculator reference app" exists! Merci bien!

d:-)


RE: WP 34S and 31S bugs and fixes - walter b - 12-21-2015 06:00 PM

Well, well, continuous improvement is working continuously.

d;-)


RE: WP 34S and 31S bugs and fixes - pascal_meheut - 12-21-2015 07:01 PM

(12-21-2015 04:40 PM)Pascal Wrote:  Will you also submit an updated version for iOS devices? That would be really useful.

In a few weeks. The process is more painful so I do not do it as often.

(12-21-2015 04:40 PM)Pascal Wrote:  By the way, the WP34s is used as the "scientific calculator reference app" in iPad classes here in Luxembourg.
No, I didn't know but now I'm very proud of it.


RE: WP 34S and 31S bugs and fixes - rprosperi - 12-21-2015 08:24 PM

(12-21-2015 07:01 PM)pascal_meheut Wrote:  
(12-21-2015 04:40 PM)Pascal Wrote:  Will you also submit an updated version for iOS devices? That would be really useful.

In a few weeks. The process is more painful so I do not do it as often.

(12-21-2015 04:40 PM)Pascal Wrote:  By the way, the WP34s is used as the "scientific calculator reference app" in iPad classes here in Luxembourg.
No, I didn't know but now I'm very proud of it.

For a moment there, it looked like you were talking to yourself.

Different Pascals, different Countries. Got it! Smile


RE: WP 34S and 31S bugs and fixes - Marcio - 12-21-2015 08:41 PM

When is the 34s going Droid? Smile