Post Reply 
Exact integer arithmetic in Home?
10-27-2014, 01:22 PM
Post: #3
RE: Exact integer arithmetic in Home?
(10-27-2014 12:51 PM)DrD Wrote:  Is the function exact(), or it's corrollary approx(), sufficient for your needs? <See help exact(Expr)>

exact(.5) => 1/2
approx(1/2) => 0.5

-Dale-

No, not really. I need large products to be evaluated exactly, e.g. 9999999999*9999999999 => 99999999980000000001

That's possible to calculate in CAS interactively, but AFAIK neither in Home nor in code, which I'm hoping someone will correct me on... ;-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Exact integer arithmetic in Home? - lenborje - 10-27-2014 01:22 PM



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