5.3 on ubuntu 10.04 and 12.04 (sagenb.org doesn't appear to work to test it there).
sage: pr.<v,u>=QQ[] sage: q= 625*v^12*u^2 + 625*v^10*u^4 - 50*v^10*u^2 + 2450*v^8*u^4 - 100*v^9*u^2 - 100*v^7*u^4 + 625*v^10 - 5974*v^8*u^2 + 3601*v^6*u^4 - 596*v^7*u^2 - 196*v^5*u^4 + 2450*v^8 - 10798*v^6*u^2 + 2356*v^4*u^4 - 100*v^7 - 1012*v^5*u^2 - 96*v^3*u^4 + 3601*v^6 - 6447*v^4*u^2 + 576*v^2*u^4 - 196*v^5 - 612*v^3*u^2 + 2356*v^4 - 348*v^2*u^2 - 96*v^3 - 96*v*u^2 + 576*v^2 + 576*u^2 sage: C=Curve(q);C.genus() RuntimeError: Error in Singular function call 'genus': exponent must be non-negative error occurred in or before normal.lib::deltaLoc line 2705: ` poly g=f+var(1)^mu+var(2)^mu; //to obtain a convenient Newton-polygon` expected poly-expression. type 'help poly;' leaving normal.lib::deltaLoc leaving normal.lib::deltaLoc sage: C Affine Curve over Rational Field defined by 625*v^12*u^2 + 625*v^10*u^4 - 50*v^10*u^2 + 2450*v^8*u^4 - 100*v^9*u^2 - 100*v^7*u^4 + 625*v^10 - 5974*v^8*u^2 + 3601*v^6*u^4 - 596*v^7*u^2 - 196*v^5*u^4 + 2450*v^8 - 10798*v^6*u^2 + 2356*v^4*u^4 - 100*v^7 - 1012*v^5*u^2 - 96*v^3*u^4 + 3601*v^6 - 6447*v^4*u^2 + 576*v^2*u^4 - 196*v^5 - 612*v^3*u^2 + 2356*v^4 - 348*v^2*u^2 - 96*v^3 - 96*v*u^2 + 576*v^2 + 576*u^2 -- You received this message because you are subscribed to the Google Groups "sage-support" 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-support?hl=en.
