#12449: Improve the gamma function
--------------------------------+-------------------------------------------
   Reporter:  bober             |          Owner:  bober         
       Type:  enhancement       |         Status:  new           
   Priority:  major             |      Milestone:  sage-5.0      
  Component:  basic arithmetic  |       Keywords:  gamma function
Work_issues:                    |       Upstream:  N/A           
   Reviewer:                    |         Author:                
     Merged:                    |   Dependencies:                
--------------------------------+-------------------------------------------
 There are numerical inaccuracies in the gamma function on python floats on
 some platforms. See, e.g.
 http://groups.google.com/group/sage-
 devel/browse_thread/thread/3c8c61ea113ea60c

 Also, the current implementation is slower than it should be on basic
 types:

 {{{
 sage: timeit('gamma(6.0r)')
 625 loops, best of 3: 32 µs per loop
 sage: timeit('gamma(6r)')
 625 loops, best of 3: 44.3 µs per loop
 sage: timeit('gamma(6.0)')
 625 loops, best of 3: 22.9 µs per loop
 sage: timeit('gamma(6)')
 625 loops, best of 3: 3.29 µs per loop
 }}}

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