#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 jason):
Shouldn't this work?
{{{
sage: fast_callable(0,domain=RDF)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/home/jason/.sage/temp/littleone/22491/_home_jason__sage_init_sage_0.py in
<module>()
/home/jason/sage/local/lib/python2.5/site-
packages/sage/ext/fast_callable.so in sage.ext.fast_callable.fast_callable
(sage/ext/fast_callable.c:2350)()
AttributeError: 'sage.rings.integer.Integer' object has no attribute
'variables'
sage: fast_callable(0,vars=('x'),domain=RDF)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/home/jason/.sage/temp/littleone/22491/_home_jason__sage_init_sage_0.py in
<module>()
/home/jason/sage/local/lib/python2.5/site-
packages/sage/ext/fast_callable.so in sage.ext.fast_callable.fast_callable
(sage/ext/fast_callable.c:2569)()
AttributeError: 'sage.rings.integer.Integer' object has no attribute
'_fast_callable_'
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5093#comment:17>
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
-~----------~----~----~----~------~----~------~--~---