Post Reply 
- number ^ power issue? HP Prime
05-28-2014, 05:09 PM
Post: #2
RE: - number ^ power issue? HP Prime
(05-28-2014 04:58 PM)CR Haeger Wrote:  -3^2 yields -9 but ...

I think this must due to precedence of operators. The Prime (now) thinks that unary negation is lower precedence than exponentiation.

By the way, when I do this in python I get the same thing:


>>> -3**2
-9
>>>
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: - number ^ power issue? HP Prime - Jonathan Cameron - 05-28-2014 05:09 PM
RE: - number ^ power issue? HP Prime - DrD - 05-28-2014, 05:29 PM



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