#12521: evaluate log gamma for complex input
------------------------------------+---------------------------------------
       Reporter:  kcrisman          |         Owner:  AlexGhitza
           Type:  defect            |        Status:  new       
       Priority:  critical          |     Milestone:  sage-5.11 
      Component:  basic arithmetic  |    Resolution:            
       Keywords:  lgamma log_gamma  |   Work issues:            
Report Upstream:  N/A               |     Reviewers:            
        Authors:                    |     Merged in:            
   Dependencies:                    |      Stopgaps:            
------------------------------------+---------------------------------------
Changes (by eviatarbach):

  * priority:  major => critical


Comment:

 Our current implementation is wrong. For the principal branch,
 `log_gamma(z)` should not be equal to `log(gamma(z))` in general. See
 https://cs.uwaterloo.ca/research/tr/1994/23/CS-94-23.pdf:

 `ln_gamma(x) = ln(gamma(x)) + 2*pi*i*ceil(x/2 - 1)`

 Changing to critical because the documentation claims that it's the
 principal branch, which is mathematically wrong.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12521#comment:8>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to