Post Reply 
Why does -2^2 compute to -4 on my HP Prime?
03-17-2024, 08:33 AM
Post: #28
RE: Why does -2^2 compute to -4 on my HP Prime?
(03-16-2024 11:57 PM)jte Wrote:  I'd also be inclined to preserve the modulus when a zero is produced (if we were to use %%% for this alternative operation, I mean that (1%%%2) + 1 would evaluate to 0%%%2, unlike how (1%%2) + 1 evaluates to 0 [not 0%%2]).

0%%2 is returned, as desired, when the CAS setting for Simplify is set to None or Minimum (default). 0 is returned only when the Simplify setting is Maximum.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Why does -2^2 compute to -4 on my HP Prime? - Joe Horn - 03-17-2024 08:33 AM



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