#12121: floor/ceil can be very slow at integral values
------------------------------------+--------------------------
       Reporter:  dsm               |        Owner:  AlexGhitza
           Type:  defect            |       Status:  new
       Priority:  major             |    Milestone:  sage-6.4
      Component:  basic arithmetic  |   Resolution:
       Keywords:                    |    Merged in:
        Authors:                    |    Reviewers:
Report Upstream:  N/A               |  Work issues:
         Branch:                    |       Commit:
   Dependencies:                    |     Stopgaps:
------------------------------------+--------------------------

Comment (by zimmerma):

 I'm not sure if this should go to this ticket, but the following never
 returns:
 {{{
 sage: z
 (11/9*sqrt(3)*sqrt(2) + 3)^(1/3) + 1/3/(11/9*sqrt(3)*sqrt(2) + 3)^(1/3) -
 1
 sage: floor(z)
 }}}
 Even {{{floor(z, maximum_bits=53)}}} loops infinitely.
 Should I open a separate ticket?

--
Ticket URL: <http://trac.sagemath.org/ticket/12121#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to