The code below causes a singular error, in 5.1 and 5.2 it's
"RuntimeError: zz_pContext: p must be > 1" while in 5.3.rc1 it's
"RuntimeError: Floating point exception".  Has this been seen before,
or is a new ticket required?

John

PS If you can tell what the computation is about, you get a prize.

Z = ZZ
Qu.<u> = FractionField(PolynomialRing(Z,'u'))
Qt.<t> = FractionField(PolynomialRing(Z,'t'))
Qj.<j> = FractionField(PolynomialRing(Z,'j'))
t2u = Hom(Qt,Qu)(27/(u^3 - 1))
j2t = Hom(Qj,Qt)((t + 3)^3 * (t + 27)/t)
X = polygen(QQ)
Q3.<z> = NumberField(X^2-X+1)
ju = t2u(j2t(j)) # j as a function of u
nju = ju.numerator()
dju = ju.denominator()
Q3xy.<x,y> = Q3[]
ffQ3=(nju(x)*dju(y)-nju(y)*dju(x)).factor()

/home/jec/sage-5.3.rc1/local/lib/python2.7/site-packages/sage/rings/polynomial/multi_polynomial_libsingular.so
in 
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular.factor
(sage/rings/polynomial/multi_polynomial_libsingular.cpp:25414)()

RuntimeError: Floating point exception

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to