February 9, 2018 at 11:03:11 AM UTC, Marco Caliari wrote:
>>
>> Hi, the following script
>>
>> def test(m,c,precision):
>> M = 3*m
>> RRR = RealField(prec = precision)
>> coef02 = [RRR(1/i) for i in [1..M+1]]
>> g = coef02[M]
>>
I tested sage 8.0 and it works fine.
On Friday, 9 February 2018 14:44:23 UTC+1, Nils Bruin wrote:
>
> On Friday, February 9, 2018 at 11:03:11 AM UTC, Marco Caliari wrote:
>>
>> Hi, the following script
>>
>> def test(m,c,precision):
>> M = 3*m
>
Hi, the following script
def test(m,c,precision):
M = 3*m
RRR = RealField(prec = precision)
coef02 = [RRR(1/i) for i in [1..M+1]]
g = coef02[M]
for i in [M-1..2,step=-1]:
g = x*g+coef02[i]
ME = 32
disk = [exp (2*pi.n(precision)*I*i/ME) for i in range(ME)]
ep