[WP34s] strange behaviour at number entry
#1

I happened to find a strange behaviour of the 34s that shows up when numbers with negative exponents are used in programs. Here's a simple example:

 LBL A
2
ENTER
3
EEX
+/-
9
x
RTN
This should return 6E-9. Now see what happens:
 [A]  78
[A] 0,000000006
[A] 78
[A] 0,000000006
[A] 78
[A] 0,000000006
[A] ...
The 78 simply is 2 x 39 (instead of 2 x 3E-9). This means that every second time (!) the 34s ignores the EEX +/- sequence. After turning the device off and on again, the first call of [A] consistently works correctly and the next shows 78 again. Also, manually entering a number with at least two digits first makes the error disappear:
 [A]  78
[A] 0,000000006
[A] 78
[A] 0,000000006
12
[A] 0,000000006
3 [+/-]
[A] 0,000000006
4 {EEX]
[A] 0,000000006
[A] 78
[A] 0,000000006
[A] ...
On the other hand, the error does not appear if the exponent is entered first, followed by +/-. So this version works fine:
 LBL A
2
ENTER
3
EEX
9
+/-
x
RTN
All this happens with firmware 3.2 3360, but I suspect it does so with other versions as well.

Dieter

#2

Interesting find.

I've no idea how this is occurring and my console debug utilities aren't useful.

- Pauli

#3

Went to bed and started think about this and figured out what was going on. Rather subtle problem with the command line entry. I've fixed the code, but the build will have to wait on Marcus.


- Pauli

#4

Paul, will this be build 3383?


Regards,

John

#5

We're at 3404 now and Marcus hasn't built it yet, so expect 3405 or greater.

d:-)

P.S.: It is 3405.


Edited: 6 June 2013, 11:28 a.m.

#6

The fix is built and committed.

#7

Wow ! The software department has been busy. ;-) I look here Link for updates but haven't found the right indication a new version is available. Do you have any suggestions?

Regards,

John

#8

Can you enlighten us on what the problem was? I am curious now.

#9

Works fine now. Thank you very much.

Dieter

#10

Quote:
Do you have any suggestions?

Yes, please read p. 165 of the printed manual - and don't forget footnote 82. HTH

d:-)

#11

Don't worry about the missed version numbers. There have been a number of builds for the various emulators which push this number up without changing the core functionality at all.


- Pauli

#12

An off by one error and some stale data. Look at the commit logs for further details :-)


- Pauli

#13

Ok, I will do. Thanks!



Possibly Related Threads…
Thread Author Replies Views Last Post
  Strange HP 25 Problem (Repair) Onur Ilkorur 5 2,794 12-06-2013, 05:13 PM
Last Post: Onur Ilkorur
  Strange Battery Icon during updaate of Prime Firmware. Harold A Climer 7 3,417 12-05-2013, 04:40 PM
Last Post: Michael de Estrada
  HP Prime: adding an entry to a vector Alberto Candel 12 3,907 12-02-2013, 01:18 PM
Last Post: Alberto Candel
  Complex Number Entry on Prime Jeff O. 19 5,022 11-16-2013, 12:34 PM
Last Post: Jeff O.
  HP PRIME : strange behavior when trying user key capability Damien 12 3,800 11-03-2013, 11:02 AM
Last Post: Joe Horn
  Program to change entry mode on Prime Michael de Estrada 3 1,840 10-28-2013, 10:13 AM
Last Post: Han
  Does RPN entry mode cause the Prime keyboard to lock up ? Michael de Estrada 14 4,618 10-22-2013, 06:27 PM
Last Post: John Colvin
  HP Prime function APP - Strange limitation ! :o( dg1969 2 1,547 10-04-2013, 12:10 PM
Last Post: dg1969
  HP41CX: Strange serial #... Stephan Matthys 1 1,132 09-13-2013, 01:38 PM
Last Post: Stephan Matthys
  Strange battery leak Cristian Arezzini 0 930 06-03-2013, 09:49 AM
Last Post: Cristian Arezzini

Forum Jump: