Post Reply 
Existing CAS commands --> Prime discussion
11-27-2018, 06:43 PM
Post: #35
RE: Existing CAS commands --> Prime discussion
(11-27-2018 06:01 PM)compsystems Wrote:  Hello the float2rational giac command is not included on the hpPrime CAS

exact(0.324532453245) ↵1100186656/3390066679
float2rational(0.324532453245) ↵ 295/909

According to the XCAS documentation, the float2rational() function is the same as the exact() function. The problem here is that you have to set their precision yourself by adjusting the value of epsilon. To simulate Home's fraction button in CAS:

epsilon:=5E-12
exact(0.324532453245) --> 295/909

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Existing CAS commands --> Prime discussion - Joe Horn - 11-27-2018 06:43 PM



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