Post Reply 
Division in CAS
05-18-2022, 09:37 PM
Post: #3
RE: Division in CAS
[a b/c] key turning exact fraction to approximation may be a bug. (if exact mode is ON)

Number once turned approximate, may not be able to revert back to exact form.
exact() does not really mean "exact", only rationalize the approximated number

CAS> exact(approx(π))      → 4272943/1360120

Also, in CAS, approx numbers shown may not match what is internally stored.

CAS> approx(123456789123456789/127)      → 9.72100701759e14
CAS> Ans-9.72100701759e14                       → 492.

972100701759492 is stored as hex-float 0x1.ba0f6a81d4020p+49
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Division in CAS - matalog - 05-18-2022, 05:52 PM
RE: Division in CAS - Nigel (UK) - 05-18-2022, 08:41 PM
RE: Division in CAS - Albert Chan - 05-18-2022 09:37 PM



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