Post Reply 
How do I use CAS variables in a Program?
05-31-2017, 04:23 PM
Post: #7
RE: How do I use CAS variables in a Program?
(05-31-2017 04:49 AM)cyrille de brĂ©bisson Wrote:  If your aim is to get long integers in home, then you can not do it as Home does not support long integers...

The best that you CAN do is to use strings that will hold the representation of your long integer.
in Home CAS(string(aa)) for example should return the string representation of the aa variable (which can contain a long integer).

In this case, you need to make sure that you do all your calculations in CAS to ensure that there is not cas to home transform and loss of precision.

Cyrille

Thanks for your idea. I was able to do it without using strings. Perhaps you thought I wanted to use CAS variables in the non-cas HOME mode, but I was doing all my stuff in CAS mode and in a CAS program.

It did ultimately work.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How do I use CAS variables in a Program? - John@Mazes.com - 05-31-2017 04:23 PM



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