Elim Qiu on Sat, 30 Dec 2017 00:32:27 +0100
[
Date Prev
] [
Date Next
] [
Thread Prev
] [
Thread Next
] [
Date Index
] [
Thread Index
]
iteration and stack overfloow
To
:
pari-users@pari.math.u-bordeaux.fr
Subject
: iteration and stack overfloow
From
: Elim Qiu <
elim.qiu@gmail.com
>
Date
: Fri, 29 Dec 2017 16:32:19 -0700
I think this was posted a while before, but I don't really have a workable solution yet:
an(n) =
{ my(v = 0.5);
for(k=1,n,v=log(1+v));
return(n*v)
}
call an(10000) will cause stack overfloow, but I'd like to computer an(700000).
What should I do? Thanks
Follow-Ups
:
Re: iteration and stack overfloow
From:
Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
Prev by Date:
Re: Arity transfer from built-in function ?
Next by Date:
Re: iteration and stack overfloow
Previous by thread:
Re: Arity transfer from built-in function ?
Next by thread:
Re: iteration and stack overfloow
Index(es):
Date
Thread