Post Reply 
Possible error in on-calculator help.
11-18-2015, 08:53 PM
Post: #16
RE: Possible error in on-calculator help.
(11-18-2015 07:06 PM)Tim Wessman Wrote:  
(11-18-2015 05:29 PM)Helge Gabert Wrote:  "use i" does more things than just factor, one example:

http://www.hpmuseum.org/forum/thread-4227.html

There is no complex abs in the catalog!

Well, that is specifically one of the places that I was trying to prevent the behavior. It creates more problems then helps.

Would you be happy with a cAbs or similar?

This seems like opening a can of worms. Now suddenly for every regular command you would need a corresponding complex version. And with cAbs(x), what would abs(x) do if x were a complex number? Would it issue a warning? Throw an error?

Would the amount of work vetting through which commands needs a corresponding cCommand version be as much as going through the current list of commands and adding to their documentation whether or not they are affected by the complex flag? If every command has a corresponding cCommand version, it would seem to me you would have to go back and ensure that the non-complex version must only return real values or an error message. If that is the case, then why not just document whether or not that command is affected by the flag?

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Possible error in on-calculator help. - Han - 11-18-2015 08:53 PM



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