> sage -t -long "devel/sage/sage/libs/singular/singular.pyx" > ********************************************************************** > File > "/Users/was/build/sage-4.0.2.rc0/devel/sage/sage/libs/singular/singular.pyx >", line 501: > sage: P(2^32-1) > Expected: > -1 > Got: > 4294967295
Is that with my the fix at http://trac.sagemath.org/sage_trac/attachment/ticket/6051/singular_exp_overflow.patch or without? It seems (since you are using a 32-bit system) all that needs to be done is to fix the doctest. On 32-bit we used to switch to a slower implementation (before the fix linked above) at 2^30 while on 64-bit only at 2^62. It turns out we always have to switch at 2^30 since Singular seems to be using an int somewhere. It should return 4294967295 on both 32-bit and 64-bit as far as I can see. Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://www.informatik.uni-bremen.de/~malb _jab: martinralbre...@jabber.ccc.de --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---