#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:            
------------------------------------+---------------------------------------

Comment (by zimmerma):

 Dear Eviatar,

 I see no argument to tell the precision of the output in this function,
 thus I guess the result should be computed to the precision of the input.

 Then the real part seems fine to me.

 For the imaginary part, you create the variable {{{v}}} with the same
 precision than the input I guess.
 In {{{v-1}}} you might have a problem if {{{v}}} is very large, then
 {{{v-1}}} rounded will equal {{{v}}},
 and {{{(v-1).ceil()}}} will equal {{{v}}} too. Thus the result will be too
 large by {{{2pi}}}.

 Paul

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12521#comment:11>
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