Post Reply 
Bug? Solve in CAS causes warm start
11-28-2015, 05:24 PM
Post: #1
Bug? Solve in CAS causes warm start
On my Prime (latest firmware) entering (for example)
Code:
solve(x^3=1.2e-15,x)
in the CAS screen causes a warm start on the physical calculator, and a crash on the emulator. fsolve behaves in the same way.

The crash doesn't happen if the right-hand side is greater than 1e-12, or if x^3 is replaced by x^2.

Can anyone reproduce this? If so, is it a known bug?

Nigel (UK)
Find all posts by this user
Quote this message in a reply
11-28-2015, 08:43 PM
Post: #2
RE: Bug? Solve in CAS causes warm start
Yes, I can reproduce the warm start on the physical calculator.
Find all posts by this user
Quote this message in a reply
11-29-2015, 08:12 AM
Post: #3
RE: Bug? Solve in CAS causes warm start
HP 50g returns 1.06265856918E-5, no problems.
Find all posts by this user
Quote this message in a reply
11-29-2015, 09:41 AM (This post was last modified: 11-29-2015 09:42 AM by Nigel (UK).)
Post: #4
RE: Bug? Solve in CAS causes warm start
A workaround: enter
Code:
solve(x^3.0=1.2e-15,x)
(note the 3.0 in the power) and the correct solution is given with no crash. This works with both solve and fsolve. Still a bug, though, I'd say!

Nigel (UK)
Find all posts by this user
Quote this message in a reply
11-29-2015, 01:11 PM
Post: #5
RE: Bug? Solve in CAS causes warm start
I have modified giac for this case, it was returning an error (but unfortunately not on the Prime because of the OS).
Find all posts by this user
Quote this message in a reply
Post Reply 




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