Post Reply 
nextprime function now working as expected with Ans
07-26-2022, 04:12 AM
Post: #2
RE: nextprime function now working as expected with Ans
(07-26-2022 02:10 AM)lbundle Wrote:  I have just recently acquired an HP prime. I tried the nextprime(2) and it worked as expected giving the answer 3. I then tried nextprime(Ans), expecting to get 5. It returned 2. It seems nexrprime and Ans are not communicating for sme reason.

Or is there something I am doing wrong?

On the version of prime I am using on my phone
Software Version: 2.1.14346 (2019 11 21)
Hardware Version: Emu

nextprime(Ans) always returns 1.15951471769ᴇ15.
regardless of what Ans is preset to!
nextprime(Eval(Ans)) gives the expected result 5 when Ans is set to 3
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 - Stevetuc - 07-26-2022 04:12 AM



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