#13869: Gamma of complex numbers incorrectly simplifies to factorial
---------------------------+------------------------------------------------
   Reporter:  JoalHeagney  |             Owner:  AlexGhitza          
       Type:  defect       |            Status:  new                 
   Priority:  major        |         Milestone:  sage-5.6            
  Component:  algebra      |          Keywords:  gamma, simplify_full
Work issues:               |   Report Upstream:  N/A                 
  Reviewers:               |           Authors:                      
  Merged in:               |      Dependencies:                      
   Stopgaps:               |  
---------------------------+------------------------------------------------
 If I type the following into sage-5.5 built from source,

 {{{
 (gamma(-i-3/2)).simplify_full()

 }}}
 I get the following result:

 {{{
 factorial(-I - 5/2)

 }}}
 This:

 {{{
 n(factorial(-I - 5/2))

 }}}
 gives the obvious error:

 {{{
 TypeError: cannot evaluate symbolic expression numerically

 }}}
 while:

 {{{
 n(gamma(-I-5/2))

 }}}
 gives no problems.

 {{{
 -0.0417366258078936 + 0.0863691073697635*I

 }}}
 I've only noticed this happening in 5.5 - no such problems in 5.4 (that I
 remember).

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