On Mon, Jun 15, 2009 at 4:19 PM, Martin Albrecht<m...@informatik.uni-bremen.de> wrote: > >> 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.
No, I had not applied your patch. However, I just did, and the above issue remains. > 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. Speaking of Singular, I'm at MEGA right now and Wolfram Decker (I guess) gave everybody a big flier that says (among other things): "The Singular team would like to open the development process of Singular to its users and encourage *you* to participate. So if you would like to *Learn* Singular, *Contribute* to the library, *Implement* new stuff, ..." then come to our meeting Wednesday, June 17, 3 p.m.: * license of Singular clarified * libsingular * trac, support lists, * more frequent releases * nightly builds * better debug and profiling support * on the way to singular 4.0: C++ wrapper classes for all major singular types, developer level source code docs, Singular as a library. * 1 hour: your wishlist and discussion Sounds good to me! You writing libsingular seems to have really got some people really excited. -- William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---