Post Reply 
Question for Parisse about CAS floating point
04-12-2015, 05:36 PM
Post: #9
RE: Question for Parisse about CAS floating point
Inside Xcas (and the Prime CAS), a floating point value is always meant as an approximate representation of a real. This explains for example that gcd(1.25,0.25) returns 1 while gcd(5/4,1/4) returns 1/4, despite the fact that 5/4 and 1/4 are represented exactly with floating point numbers.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Question for Parisse about CAS floating point - parisse - 04-12-2015 05:36 PM



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