HP Forums
Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - 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: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 (/thread-11125.html)

Pages: 1 2


Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - John P - 07-25-2018 10:20 PM

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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - John P - 07-25-2018 10:36 PM

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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Komanguy - 07-26-2018 10:56 AM

(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?


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - John P - 07-26-2018 01:24 PM

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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Didier Lachieze - 07-26-2018 01:33 PM

(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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - John P - 07-26-2018 01:48 PM

Thanks Didier.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Komanguy - 07-26-2018 02:46 PM

(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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Komanguy - 07-26-2018 02:49 PM

(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!


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - ijabbott - 07-26-2018 04:05 PM

(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"?


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - John P - 07-26-2018 04:17 PM

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


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - ijabbott - 07-26-2018 05:28 PM

(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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - John P - 07-26-2018 07:54 PM

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


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - ijabbott - 07-26-2018 08:16 PM

(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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - ijabbott - 07-26-2018 08:26 PM

(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.


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - John P - 07-26-2018 08:30 PM

Yeah, that is the good and succinct way to put it.

Cheers
John


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Goff - 08-28-2018 08:14 PM

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!


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Tim Wessman - 08-29-2018 01:39 AM

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)


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Goff - 08-29-2018 02:23 PM

(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!


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - Goff - 08-31-2018 03:53 PM

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?


RE: Bug(s) in the New Version: 2018.07.06 2.0.0.13865 - BruceH - 08-31-2018 04:34 PM

@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.