Page 1 sur 1

xcas crashes on computing dfc for rootofs

Publié : ven. juin 18, 2021 9:57 am
par lukamar
There is a problem in computation of continued fraction of a rootof in giac 1.7.0. For example:

Code : Tout sélectionner

r:=solve(x^3-2x^2+x-1=0,x)[0]
returns a rootof. Now entering

Code : Tout sélectionner

dfc(r,10)
results in a crash. Precisely, pari crashes with the message:

Code : Tout sélectionner

  ***   bug in PARI/GP (Segmentation Fault), please report.