Post Reply 
Existing CAS commands --> Prime discussion
11-06-2019, 10:40 PM
Post: #66
RE: Existing CAS commands --> Prime discussion
(02-19-2019 02:52 AM)compsystems Wrote:  undocumented functions and operators


1: increment at 1
a:=a+1
increment(a,1)
a+=1

2: decrement at 1
a:=a-1
decrement(a,1)
a-=1

3: increment
a:=a+b
increment(a,b)
a+=b

4: decrement
a:=a-b
decrement(a,b)
a-=b

5: mulcrement
a:=a*b
mulcrement (a,b)
a*=b

6: divcrement
a:=a/b
divcrement (a,b)
a/=b

7: float("3.14") [enter] 3.14
float(10) [enter] 10.0

8: bool( 1 ) [enter] true
bool( 0 ) [enter] false
bool( -1 ) [enter] true

I'd love to be able to use these in non-CAS programs!

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Existing CAS commands --> Prime discussion - toml_12953 - 11-06-2019 10:40 PM



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