#12121: floor/ceil can be very slow at integral values
-------------------------------------+-------------------------------------
Reporter: dsm | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: major | Milestone: sage-7.2
Component: basic arithmetic | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers: Marc Mezzarobba
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/12121 | 602e5158c5f37c6900a1dee8e27a228114af1319
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by rws):
* cc: kcrisman (removed)
* cc: kcrisman., jdemeyer (added)
Comment:
Replying to [comment:50 nbruin]:
> Inheriting from `BuiltinFunction` is a real bugtrap: its init reassigns
a whole bunch of methods.
That must be the reason why Sage crashes all the time. Seriously, I agree
the construction of functions is messy and it limits the developer
somewhat, see "other symbolic function tickets" in
http://trac.sagemath.org/wiki/symbolics/functions. Note also there are a
bunch of tickets needing review there. However, I think the design is
sound. You just have to read how other functions (the more recently
implemented) are using it. In the end, I or someone will be transferring
the Python you write to Pynac, anyway.
Cc: the author of the `_evalf_try_` mechanism.
--
Ticket URL: <http://trac.sagemath.org/ticket/12121#comment:51>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.