Post Reply 
Bug(s) in the New Version: 2018.07.06 2.0.0.13865
07-25-2018, 10:20 PM
Post: #1
Bug(s) in the New Version: 2018.07.06 2.0.0.13865
There is a bug in the new version of firmware:
{30,45,60,70,80,85,90}//dergrees
If I change to rad. and HP Prime is in rad. mode, no matter list or vector
{30,45,60,70,80,85,90}.PI/180// now in rads.
When I use for example in CAS mode:
sin() and copy {30,45,60,70,80,85,90}.PI/180 from the history into sin()
I get sin({30,45,60,70,80,85,90}.PI/180)
After pressing ENTER HP Prime hangs up and I have to reset it.
Strangely for cos() it works, but for tan() it doesn't (same like for sin()).
The above works in the HOME Mode.
FALSE ALARM! I 'restarted' this goddamned thing and it looks as it works. Sorry.
Find all posts by this user
Quote this message in a reply
07-25-2018, 10:36 PM
Post: #2
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Definitely there is a bug even after 'restart', because if in CAS I do: sin(l1)/cos(l1), I stored the input list in l1, the calc. sometimes gives the result and sometimes hangs itself, and when it does return it it HANGS ITSELF.
Find all posts by this user
Quote this message in a reply
07-26-2018, 10:56 AM (This post was last modified: 07-26-2018 11:02 AM by Komanguy.)
Post: #3
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-25-2018 10:36 PM)John P Wrote:  Definitely there is a bug even after 'restart', because if in CAS I do: sin(l1)/cos(l1), I stored the input list in l1, the calc. sometimes gives the result and sometimes hangs itself, and when it does return it it HANGS ITSELF.

Hi John,

where i try to store sin(l1)/cos(l1) into l1, the calculator doesn't hang at all.
Calculations are done correctly on my prime (real calculator)

Do you use the emulator or the physical calculator?

Guy R. KOMAN, hp 50G, hp Prime Rev. C
Find all posts by this user
Quote this message in a reply
07-26-2018, 01:24 PM (This post was last modified: 07-26-2018 02:07 PM by John P.)
Post: #4
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Hi Komanguy,
Store {30,45,60,70,80,85,90}*PI/180 in l1 and than do in rad. mode and in CAS sin(l1) or tan(l1) or sin(l1)/cos(l1). Mine goddamned HP Prime hangs itself every time.
Thanks for your reply.
Cheers

PS
I will put the previous ver. of the firmware and see what happens.

Update:
The previous version of the firmware worked only after 'restart'.
I've reinstalled the latest firmware, did 'restart' and so far it works. Maybe the re-installation helped. I will update the post if something strange happens.

Update 2:
When I do sin(l1).^2.*cos(l1).^2 and do simplify on the result my calc. hangs itself and have to do ON+SYMB and 'restart' after. Definitely there is a bug in the firmware. With the calculations I described the HP Prime is completely unpredictable, sometimes it hangs sometimes not for a while and hangs again.
Find all posts by this user
Quote this message in a reply
07-26-2018, 01:33 PM
Post: #5
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 01:24 PM)John P Wrote:  Store {30,45,60,70,80,85,90}*PI/180 in l1 and than do in rad. mode and in CAS sin(l1) or tan(l1) or sin(l1)/cos(l1). Mine goddamned HP Prime hangs itself every time.

No issue with my Prime & the latest firmware.
Find all posts by this user
Quote this message in a reply
07-26-2018, 01:48 PM
Post: #6
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Thanks Didier.
Find all posts by this user
Quote this message in a reply
07-26-2018, 02:46 PM
Post: #7
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 01:24 PM)John P Wrote:  Hi Komanguy,
Store {30,45,60,70,80,85,90}*PI/180 in l1 and than do in rad. mode and in CAS sin(l1) or tan(l1) or sin(l1)/cos(l1).

No issue here.

Guy R. KOMAN, hp 50G, hp Prime Rev. C
Find all posts by this user
Quote this message in a reply
07-26-2018, 02:49 PM
Post: #8
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 01:24 PM)John P Wrote:  Update 2:
When I do sin(l1).^2.*cos(l1).^2 and do simplify on the result my calc. hangs itself and have to do ON+SYMB and 'restart' after. Definitely there is a bug in the firmware. With the calculations I described the HP Prime is completely unpredictable, sometimes it hangs sometimes not for a while and hangs again.

I do confirms. This operation hangs also on mine!

Guy R. KOMAN, hp 50G, hp Prime Rev. C
Find all posts by this user
Quote this message in a reply
07-26-2018, 04:05 PM (This post was last modified: 07-26-2018 04:05 PM by ijabbott.)
Post: #9
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 01:24 PM)John P Wrote:  Update 2:
When I do sin(l1).^2.*cos(l1).^2 and do simplify on the result my calc. hangs itself and have to do ON+SYMB and 'restart' after. Definitely there is a bug in the firmware. With the calculations I described the HP Prime is completely unpredictable, sometimes it hangs sometimes not for a while and hangs again.

I haven't tried that on the physical calculator yet. Note that the "2." will force an approximate result. Does it still crash if you keep the calculation "exact"?

— Ian Abbott
Find all posts by this user
Quote this message in a reply
07-26-2018, 04:17 PM
Post: #10
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Hi ijabbott,

"2." in sin(l1).^2.*cos(l1).^2 is, I think, for the element wise multiplication on the corresponding elements of the two list not to have approximate solution. It also crashed when I used "*". I put the dot in ".*" to make sure it will operate on the corresponding elements of the two lists.
Cheers
Find all posts by this user
Quote this message in a reply
07-26-2018, 05:28 PM (This post was last modified: 07-26-2018 05:34 PM by ijabbott.)
Post: #11
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 04:17 PM)John P Wrote:  Hi ijabbott,

"2." in sin(l1).^2.*cos(l1).^2 is, I think, for the element wise multiplication on the corresponding elements of the two list not to have approximate solution. It also crashed when I used "*". I put the dot in ".*" to make sure it will operate on the corresponding elements of the two lists.
Cheers

I think numbers (including the decimal point ".") have higher precedence in the parser than the "." modifier. You could add a space between the "2" and the "." to be sure, or add parentheses.

Example...

In Home > Settings set Entry mode to Algebraic and turn off Textbook Display. Then in CAS mode:

Code:

Input: {1,2,3}.^2.*{4,5,6}
Displays: ({1,2,3}) .^ 2.*{4,5,6}      {4.,20.,54.}

Input: {1,2,3}.^2 .*{4,5,6}
Displays: (({1,2,3}) .^ 2) .* {4,5,6}     {4,20,54}

Input: ({1,2,3}.^2).*{4,5,6}
Displays: (({1,2,3}) .^ 2) .* {4,5,6}     {4,20,54}

As can be seen, the first one with the "2." is calculated in approximate mode.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
07-26-2018, 07:54 PM
Post: #12
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Hi ijabbott,

1.You are right that in some cases putting ".*",".-","./",".*" will give you approx. numerical results, but if I do sin(l1).*cos(l1) it doesn't.
2. If I do sin(l1).^2*cos(l1).^2 I also don't get approx. numbers.
3. (sin(l1).^2).*(cos(l1).^2) also no approx. numbers.
4. sin(l1).^2.*cos(l1).^2 it gives approx. numbers.
3. If you do trig functions on a vector or list or matrix you must use ".^" if you want the trig fn applied to each element.
4. The funny thing is that when I do what I described above I do not hang the Virtual Calculator. The VC works as expected and did not hanged itself so far. Only the physical HP Prime hangs itself. Strange.

Cheers
John
Find all posts by this user
Quote this message in a reply
07-26-2018, 08:16 PM
Post: #13
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 02:49 PM)Komanguy Wrote:  
(07-26-2018 01:24 PM)John P Wrote:  Update 2:
When I do sin(l1).^2.*cos(l1).^2 and do simplify on the result my calc. hangs itself and have to do ON+SYMB and 'restart' after. Definitely there is a bug in the firmware. With the calculations I described the HP Prime is completely unpredictable, sometimes it hangs sometimes not for a while and hangs again.

I do confirms. This operation hangs also on mine!

I confirm it also hangs on mine (when making sure it does an exact calculation). There is an animated hourglass in the top right corner. After a few minutes, the watchdog kicks in and the calculator does the equivalent of ON+SYMB automatically. The contents of the l1 variable are lost.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
07-26-2018, 08:26 PM (This post was last modified: 07-26-2018 08:27 PM by ijabbott.)
Post: #14
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(07-26-2018 07:54 PM)John P Wrote:  1.You are right that in some cases putting ".*",".-","./",".*" will give you approx. numerical results, but if I do sin(l1).*cos(l1) it doesn't.
2. If I do sin(l1).^2*cos(l1).^2 I also don't get approx. numbers.
3. (sin(l1).^2).*(cos(l1).^2) also no approx. numbers.
4. sin(l1).^2.*cos(l1).^2 it gives approx. numbers.

The rule (in exact mode) is that a number in floating point format (containing a decimal separator character or an exponent part) is considered to be approximate, and a number in integer format (no decimal separator character or exponent part) is considered to be exact. Mixing approximate numbers with exact numbers gives an approximate result.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
07-26-2018, 08:30 PM
Post: #15
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Yeah, that is the good and succinct way to put it.

Cheers
John
Find all posts by this user
Quote this message in a reply
08-28-2018, 08:14 PM
Post: #16
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Hello HP Prime Team,

have stated the following:


New Version: 2018.07.06 2.0.0.13865

Hardware: G1 and G2


– System-wide settings

OPEN -> Home Settings (Shift ...)

CLOSE -> Home Settings (Home view key)

and NOW!

Example:

OPEN -> HP Apps -> Spreadsheet app

SELECT -> cell A1

and here is the problem!

EDIT -> =ROW

– no variables from the app variable menu can be used.

- it does not appear "ROW" but a 0.


Am I doing something wrong?

- or is it a bug?

***
THANK YOU!
Find all posts by this user
Quote this message in a reply
08-29-2018, 01:39 AM (This post was last modified: 08-29-2018 01:40 AM by Tim Wessman.)
Post: #17
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
You are doing "=R*O*W" and one of those, or all 3 have a value of 0 stored in them by default.

Are you trying to access the "Row" variable? (note the capitalization)

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
08-29-2018, 02:23 PM
Post: #18
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
(08-29-2018 01:39 AM)Tim Wessman Wrote:  You are doing "=R*O*W" and one of those, or all 3 have a value of 0 stored in them by default.

Are you trying to access the "Row" variable? (note the capitalization)

OK, the variable "Row" writing is natural. - that is clear


I want to use the variable "Row" but via the app variable menu!


- that does not work anymore, a zero appears!

– also the variable "Col" can not be used!
Find all posts by this user
Quote this message in a reply
08-31-2018, 03:53 PM
Post: #19
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
Hello Tim,

can you check that again?

Why can not I use these variables anymore?


An HP Prime, fresh OS, is turned on.

No problem with the "app variable menu"!

Then I open the "Home Settings" and close it again.

Now I can not use the variables "Row" and "Col" from "app variable menu"!

A big mistake in the system?
Find all posts by this user
Quote this message in a reply
08-31-2018, 04:34 PM
Post: #20
RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865
@Goff

I reset my Prime. Went into Home Settings. Did nothing - no changes no scrolling. Pressed Home to come out. Started the spreadsheet app. Changed cell A1 to =Row and I get the value 1.

So you need to be a bit more detailed - exact steps from a hard reset - if you want people to be able to reproduce it.
Find all posts by this user
Quote this message in a reply
Post Reply 




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