HP Forums
[BUG REPORT] Constants with exponents cause error - 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 REPORT] Constants with exponents cause error (/thread-1535.html)



[BUG REPORT] Constants with exponents cause error - norlesh - 06-04-2014 07:47 PM

From the CAS screen taking the square root of G or any other constant with an exponent causes a totally useless nondescript error message. If you edit the equation by deleting the E in the constant and replace it using the 'EEX' key then the same equation works....

This is in the newest firmware .... so not cool


RE: [BUG REPORT] Constants with exponents cause error - toml_12953 - 06-04-2014 07:55 PM

(06-04-2014 07:47 PM)norlesh Wrote:  From the CAS screen taking the square root of G or any other constant with an exponent causes a totally useless nondescript error message. If you edit the equation by deleting the E in the constant and replace it using the 'EEX' key then the same equation works....

This is in the newest firmware .... so not cool

This works in the emulator anyway: √(6.02214129e23) 776024567266
Maybe it's just negative exponents that give an error?


RE: [BUG REPORT] Constants with exponents cause error - norlesh - 06-04-2014 08:04 PM

(06-04-2014 07:55 PM)toml_12953 Wrote:  
(06-04-2014 07:47 PM)norlesh Wrote:  From the CAS screen taking the square root of G or any other constant with an exponent causes a totally useless nondescript error message. If you edit the equation by deleting the E in the constant and replace it using the 'EEX' key then the same equation works....

This is in the newest firmware .... so not cool

This works in the emulator anyway: √(6.02214129e23) 776024567266
Maybe it's just negative exponents that give an error?

√(NA) works on the calc also so your probably correct in it being negative exponents - but since Avagadros is the only constant in there with a positive exponent it doesn't give much satisfaction


RE: [BUG REPORT] Constants with exponents cause error - dbbotkin - 10-27-2014 11:10 PM

Here's a work-around: if you delete the little 'E' in the exponent and the press the 'EEX' to enter the exponent, all is well. That replaces the 'E' with 'e' which, in turn, is restored to 'E' on the CAS stack.

Perhaps the little '-' and the little 'E' don't play well together?


RE: [BUG REPORT] Constants with exponents cause error - leonlenettoyeur - 10-28-2014 03:07 AM

I think it's how the CAS handles these things. This is exactly what I reported on in my comment here: http://www.hpmuseum.org/forum/thread-2324.html


RE: [BUG REPORT] Constants with exponents cause error - dbbotkin - 10-28-2014 04:59 AM

Well, not quite: it is the combination of the little '-' and the little 'E' that doesn't work--not even to enter the constant. Somehow an edit to the 'E' or the '-' fixes it. The 'e' (as in Euler) issue is related, but different.

There is likely a problem with the way CAS parses the entry line.