Changes between Initial Version and Version 14 of Ticket #18210


Ignore:
Timestamp:
04/20/15 13:00:40 (5 years ago)
Author:
rws
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18210

    • Property Type changed from PLEASE CHANGE to defect
    • Property Summary changed from Symbolic computation of Gamma related function crashes Sage to numerical bug in incomplete gamma function
  • Ticket #18210 – Description

    initial v14  
     1Wrong values from incomplete gamma:
     2{{{
     3$ ./sage -v
     4SageMath Version 6.7.beta1, Release Date: 2015-04-15
     5
     6$ ./sage
     7sage: gamma(60, 30).numerical_approx()
     8-1.28306738270893e74
     9}}}
     10Reason is a bug in Pari:
     11{{{
     12? \p 50
     13   realprecision = 57 significant digits (50 digits displayed)
     14? incgam(60,30)
     15%2 = 1.3868299023788799504133735635863795825413935892945 E80
     16? \p 30
     17   realprecision = 38 significant digits (30 digits displayed)
     18? incgam(60,30)
     19%3 = -1.23084064495468737276106696496 E74
     20}}}
     21
     22Previous description:
     23
    124The following code:
    225