HP Forums

Full Version: WP 34S and 31S bugs and fixes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(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.
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
I've uploaded new versions of the Qt emulators.
(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.
Version 3810 loaded successfully for me.

Thanks WP 34s support team.


John
(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.
(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
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.
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.
(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
(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!!
I have also updated the Qt emulators
All branches are rebuilt.

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

Edit: Added wp31s.zip Smile
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.
(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.
(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:-)
Well, well, continuous improvement is working continuously.

d;-)
(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.
(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
When is the 34s going Droid? Smile
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Reference URL's