#5907: [with patch; needs review] incorrect fast_float evaluation of constant
polynomials
------------------------------+---------------------------------------------
 Reporter:  tornaria          |       Owner:  tornaria  
     Type:  defect            |      Status:  new       
 Priority:  major             |   Milestone:  sage-3.4.2
Component:  basic arithmetic  |    Keywords:  fast_float
------------------------------+---------------------------------------------
 A constant polynomial {{{a}}} is incorrectly {{{_fast_float_}}}- evaluated
 as {{{a*x}}}:
 {{{
 sage: R.<t> = QQ[]
 sage: f = t + 2 - t
 sage: ff = f._fast_float_()
 sage: ff(3)
 6.0
 sage: list(ff)
 ['load 0', 'push 2.0', 'mul']
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5907>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to