Existing CAS commands > Prime discussion

11292018, 05:51 PM
Post: #41




RE: Existing CAS commands > Prime discussion
(11292018 05:18 PM)ijabbott Wrote: Looking at the Giac/Xcas source code for exact and float2rational, they follow different code paths, but do similar things. The main functional difference seems to be that exact imposes a minimum epsilon value of 1e14, whereas float2rational imposes a minimum epsilon value of 1e11. Prime's exact() function can be controlled by setting epsilon to any value between 1e6 and 1e15. Since the output of float2rational() can therefore be obtained by exact(), there is no need to add float2rational to the Prime's vocabulary... especially now that QPI is also available: qpi(.324532453245) > 295/909 <0ΙΈ0> Joe 

« Next Oldest  Next Newest »

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