On Tue, 02 Jan 2007 18:44:48 -0800, David R. Kohel <[EMAIL PROTECTED]> wrote:
Do you think the following is a bug or a consequence of the definitions of operators and their priorities?--David sage: (78).factor() 2 * 3 * 13 sage: ZZ(78).factor() 2 * 3 * 13 sage: 78.factor() ------------------------------------------------------------ File "<ipython console>", line 1 RealNumber('78.')factor() ^ <type 'exceptions.SyntaxError'>: invalid syntax
OK, I've implemented this, since upon reviewing previous discussions, it doesn't appear to cause any harm, though I thought it would. You can get it by doing an hg_sage.pull() from sage-1.5.1.2 or by applying the attached patch. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---
