Post Reply 
nextprime function now working as expected with Ans
07-26-2022, 04:48 PM
Post: #6
RE: nextprime function now working as expected with Ans
(07-26-2022 04:19 AM)Joe Horn Wrote:  The problem is caused by Prime having two different values of Ans, one for Home, and one for CAS. Since nextprime() is a CAS function, nextprime(Ans) always uses CAS's Ans, not Home's Ans. Does this mean that the HP Prime has multiple personality disorder? Yes, and it's scary because CAS's personality sneaks across into Home without warning, as you discovered.

Solution to this problem is simple: nextprime() and nextprime(Ans) work as desired in CAS view.

Is this supposed to be a feature or a bug? If it's a feature I cannot possibly see a use for it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: nextprime function now working as expected with Ans - lbundle - 07-26-2022 04:48 PM



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