Dear All
I am doing the following:
x - yacas(3/2)
for (i in 2:400)
+x - yacas(paste(x,*,x))
x
expression(Inf^1.260864167e+117/Inf^6.304320836e+116)
Eval(x)
[1] NaN
No luck this way. However, I am successful with
y - yacas((3/2)^400)
y
Paul Smith [EMAIL PROTECTED] writes:
Dear All
I am doing the following:
x - yacas(3/2)
for (i in 2:400)
+x - yacas(paste(x,*,x))
x
expression(Inf^1.260864167e+117/Inf^6.304320836e+116)
Eval(x)
[1] NaN
No luck this way. However, I am successful with
y - yacas((3/2)^400)
There is likely some limitation in the Ryacas interface that needs to
be addressed by the Ryacas developers. yacas itself can support very large
numbers so just use yacas directly.
Aside from that I, as mentioned previously in this thread, yacas returns a
yacas object and that is a complex
On 23 Nov 2006 20:17:15 +0100, Peter Dalgaard [EMAIL PROTECTED] wrote:
I am doing the following:
x - yacas(3/2)
for (i in 2:400)
+x - yacas(paste(x,*,x))
x
expression(Inf^1.260864167e+117/Inf^6.304320836e+116)
Eval(x)
[1] NaN
No luck this way. However, I am successful
If Ryacas/Yacas cannot multiply fractions with simultaenously very
large numerators and denominators, what else should I use?
Did you try package gmp ?
Hth
Detlef
Thanks in advnace,
Paul
__
R-help@stat.math.ethz.ch mailing list
Also just to be clear this does not mean that you cannot use very
large numbers. It means that you need to keep them on the yacas
side and move them over right at the end and at that point they must
not be so large that R itself cannot handle them.
For example, this works because all the