HP Forums
Strange bug in HP prime Virtual - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Strange bug in HP prime Virtual (/thread-17781.html)



Strange bug in HP prime Virtual - fstiffo - 12-03-2021 08:07 AM

I found this strange bug in HP Prime App for iOS and in HP Prime Virtual Calculator in Windows

[Image: hYnX2WZ.png]

Is it the same on the real calculator?


RE: Strange bug in HP prime Virtual - DA74254 - 12-03-2021 09:37 PM

Getting the same answer both on HW G2 calc and in Android Prime pro.


RE: Strange bug in HP prime Virtual - lrdheat - 12-04-2021 12:58 AM

It is adding the 58/3 from above to the answer (1334/69). Why?


RE: Strange bug in HP prime Virtual - lrdheat - 12-04-2021 12:59 AM

Seems to think it should simplify (ans + 58/3).


RE: Strange bug in HP prime Virtual - lrdheat - 12-04-2021 01:01 AM

…that is, the new answer + 58/3.


RE: Strange bug in HP prime Virtual - lrdheat - 12-04-2021 01:05 AM

Every subsequent press of enter adds another 58/3 to the result.


RE: Strange bug in HP prime Virtual - Nigel (UK) - 12-04-2021 10:22 AM

I don’t think this is a bug. Pressing ENTER repeats the previous command. Pressing Simplify simplifies the previous result and displays it, without the need to press enter.
So pressing Simplify followed by ENTER displays the simplified result first, and then repeats the previous command. Since the previous command here involves Ans, the two results are different.

Nigel (UK)


RE: Strange bug in HP prime Virtual - fstiffo - 12-04-2021 10:28 AM

(12-04-2021 10:22 AM)Nigel (UK) Wrote:  I don’t think this is a bug. Pressing ENTER repeats the previous command. Pressing Simplify simplifies the previous result and displays it, without the need to press enter.
So pressing Simplify followed by ENTER displays the simplified result first, and then repeats the previous command. Since the previous command here involves Ans, the two results are different.

Nigel (UK)

Thanks Nigel, it's a good explanation.


RE: Strange bug in HP prime Virtual - Wes Loewer - 12-05-2021 06:54 PM

(12-04-2021 10:22 AM)Nigel (UK) Wrote:  I don’t think this is a bug. Pressing ENTER repeats the previous command. Pressing Simplify simplifies the previous result and displays it, without the need to press enter.
So pressing Simplify followed by ENTER displays the simplified result first, and then repeats the previous command. Since the previous command here involves Ans, the two results are different.

That does appear to be what is happening, and it would make sense if the command had been simplify(ans). But since the command was simplify(1370/69), then I would describe this as being "unexpected behavior."


RE: Strange bug in HP prime Virtual - jte - 12-06-2021 05:55 AM

I was wondering how this thread would evolve…

My first impression is that “simplify” here might not be a “command”. It would seem useful (/ not too strange) to have simplifications not affect operations (beyond simplifying their expression). Unfortunately, “simplify(…)” is showing up on the left, looking like a command… (One might press Enter Enter Enter… think — oh, that could be simplified — press simplify, and resume pressing Enter Enter Enter…)

… and, moreover, selecting prior history items and tapping simplify does indeed affect operations (as the entry brought down, simplified, is what will be taken for Ans if Enter is used to repeat a command — unlike if a history element is copied as Enter will then copy the copied element).

Perhaps some UI adjustment is warranted here… (to clarify simplification actions, perhaps even to emphasize when, and how, Ans is playing a role).