Post Reply 
Strange behaviour STRING command in case STRING(√7)
11-23-2016, 08:41 AM (This post was last modified: 11-23-2016 08:43 AM by StephenG1CMZ.)
Post: #12
RE: Strange behaviour STRING command in case STRING(√7)
(11-23-2016 04:07 AM)Joe Horn Wrote:  
(11-22-2016 09:23 PM)StephenG1CMZ Wrote:  I haven't checked that on epsilon - I get a syntax error whether I write epsilon or select "e" from the key Shift/9.

"epsilon" is only recognized by the CAS. It cannot be used in Home or in non-CAS programs or functions.

That's right...
It crashes the calculator on Android...

Code:


 EXPORT Z_SGN(XX)
 BEGIN
  RETURN ((XX>0)-(XX<0));
 END;
 

EXPORT SG()
BEGIN
 {Z_SGN(0.01),Z_SGN(0),Z_SGN(−0.01)};
 Z_SGN(approx(CAS.epsilon)); // CRASHES ON ANDROID 
END;

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Strange behaviour STRING command in case STRING(√7) - StephenG1CMZ - 11-23-2016 08:41 AM



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