Hi, I have the same problem: sage: time floor(log(4)/log(2)) 2 Time: CPU 7.04 s, Wall: 7.05 s
But you can use n() before floor: sage: time floor(log(4).n()/log(2).n()) 2 Time: CPU 0.00 s, Wall: 0.00 s It should help you. Regards, Oleksandr On Friday, June 22, 2012 1:19:55 PM UTC+2, dmharvey wrote: > > ---------------------------------------------------------------------- > | Sage Version 5.0, Release Date: 2012-05-14 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > sage: time floor(log(4)/log(2)) > 2 > Time: CPU 1.07 s, Wall: 1.07 s > sage: time floor(log(4)/log(2)) > 2 > Time: CPU 1.07 s, Wall: 1.07 s > > This seems very slow to me. Am I doing something wrong? > > david > > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org