Post Reply 
WP 34S and 31S bugs and fixes
10-02-2015, 03:21 AM
Post: #221
RE: WP 34S and 31S bugs and fixes
(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.
Find all posts by this user
Quote this message in a reply
10-02-2015, 04:25 AM
Post: #222
RE: WP 34S and 31S bugs and fixes
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
Find all posts by this user
Quote this message in a reply
10-02-2015, 05:08 AM
Post: #223
RE: WP 34S and 31S bugs and fixes
I've uploaded new versions of the Qt emulators.
Find all posts by this user
Quote this message in a reply
10-04-2015, 05:19 PM
Post: #224
RE: WP 34S and 31S bugs and fixes
(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.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
10-04-2015, 05:35 PM
Post: #225
RE: WP 34S and 31S bugs and fixes
Version 3810 loaded successfully for me.

Thanks WP 34s support team.


John
Find all posts by this user
Quote this message in a reply
10-05-2015, 02:12 PM
Post: #226
RE: WP 34S and 31S bugs and fixes
(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.
Find all posts by this user
Quote this message in a reply
10-05-2015, 07:54 PM
Post: #227
RE: WP 34S and 31S bugs and fixes
(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

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-20-2015, 10:08 PM
Post: #228
RE: WP 34S and 31S bugs and fixes
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.
Find all posts by this user
Quote this message in a reply
12-20-2015, 10:31 PM
Post: #229
RE: WP 34S and 31S bugs and fixes
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.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-20-2015, 11:08 PM
Post: #230
RE: WP 34S and 31S bugs and fixes
(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
Find all posts by this user
Quote this message in a reply
12-21-2015, 01:44 AM
Post: #231
RE: WP 34S and 31S bugs and fixes
(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!!
Find all posts by this user
Quote this message in a reply
12-21-2015, 06:13 AM
Post: #232
RE: WP 34S and 31S bugs and fixes
I have also updated the Qt emulators
Find all posts by this user
Quote this message in a reply
12-21-2015, 09:09 AM (This post was last modified: 12-21-2015 09:53 AM by Marcus von Cube.)
Post: #233
RE: WP 34S and 31S bugs and fixes
All branches are rebuilt.

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

Edit: Added wp31s.zip Smile

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
12-21-2015, 04:40 PM
Post: #234
RE: WP 34S and 31S bugs and fixes
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.
Find all posts by this user
Quote this message in a reply
12-21-2015, 05:38 PM (This post was last modified: 12-21-2015 05:40 PM by emece67.)
Post: #235
RE: WP 34S and 31S bugs and fixes
(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.
Find all posts by this user
Quote this message in a reply
12-21-2015, 05:59 PM
Post: #236
RE: WP 34S and 31S bugs and fixes
(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:-)
Find all posts by this user
Quote this message in a reply
12-21-2015, 06:00 PM
Post: #237
RE: WP 34S and 31S bugs and fixes
Well, well, continuous improvement is working continuously.

d;-)
Find all posts by this user
Quote this message in a reply
12-21-2015, 07:01 PM
Post: #238
RE: WP 34S and 31S bugs and fixes
(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.
Find all posts by this user
Quote this message in a reply
12-21-2015, 08:24 PM
Post: #239
RE: WP 34S and 31S bugs and fixes
(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

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
12-21-2015, 08:41 PM
Post: #240
RE: WP 34S and 31S bugs and fixes
When is the 34s going Droid? Smile
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: