Post Reply 
Strange bug in HP prime Virtual
12-03-2021, 08:07 AM
Post: #1
Strange bug in HP prime Virtual
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?
Find all posts by this user
Quote this message in a reply
12-03-2021, 09:37 PM
Post: #2
RE: Strange bug in HP prime Virtual
Getting the same answer both on HW G2 calc and in Android Prime pro.

Esben
15C CE, 28s, 35s, 49G+, 50G, Prime G2 HW D, SwissMicros DM32, DM42, DM42n, WP43 Pilot
Elektronika MK-52 & MK-61
Find all posts by this user
Quote this message in a reply
12-04-2021, 12:58 AM
Post: #3
RE: Strange bug in HP prime Virtual
It is adding the 58/3 from above to the answer (1334/69). Why?
Find all posts by this user
Quote this message in a reply
12-04-2021, 12:59 AM
Post: #4
RE: Strange bug in HP prime Virtual
Seems to think it should simplify (ans + 58/3).
Find all posts by this user
Quote this message in a reply
12-04-2021, 01:01 AM
Post: #5
RE: Strange bug in HP prime Virtual
…that is, the new answer + 58/3.
Find all posts by this user
Quote this message in a reply
12-04-2021, 01:05 AM
Post: #6
RE: Strange bug in HP prime Virtual
Every subsequent press of enter adds another 58/3 to the result.
Find all posts by this user
Quote this message in a reply
12-04-2021, 10:22 AM
Post: #7
RE: Strange bug in HP prime Virtual
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)
Find all posts by this user
Quote this message in a reply
12-04-2021, 10:28 AM
Post: #8
RE: Strange bug in HP prime Virtual
(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.
Find all posts by this user
Quote this message in a reply
12-05-2021, 06:54 PM
Post: #9
RE: Strange bug in HP prime Virtual
(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."
Find all posts by this user
Quote this message in a reply
12-06-2021, 05:55 AM
Post: #10
RE: Strange bug in HP prime Virtual
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).
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 4 Guest(s)