#5093: [with patch, needs review] rewrite fast_float to support more datatypes
------------------------------+---------------------------------------------
Reporter: cwitty | Owner: cwitty
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-3.4.2
Component: basic arithmetic | Keywords:
------------------------------+---------------------------------------------
Comment(by cwitty):
''Something else that would be really nice is an option that uses a fast
domain, if it's there, but ignores the domain parameter if it's not.''
Any suggestions for syntax for this? I'm coming up with things like (...,
domain=RIF, ignore_domain_if_no_specialized_interpreter_exists=True),
which seems cumbersome :) (I'm probably being too picky about being
precise in my parameter names).
I've vaguely planned to use _xxx_ arithmetic, but didn't do it for this
version because I don't know how to call Cython methods from C. Help
would be appreciated :)
The type(x)==type(generic_element) is a good idea. I'll implement it
eventually. (Then if I could access the _parent field from C, probably
almost all of the element interpreter slowdown would be gone; in
conjunction with _xxx_ arithmetic, it might actually be faster than the
generic Python interpreter.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5093#comment:21>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---