octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45453] Gamma returns -Inf as an overflow valu


From: Alexander Klein
Subject: [Octave-bug-tracker] [bug #45453] Gamma returns -Inf as an overflow value for odd integers
Date: Wed, 01 Jul 2015 09:32:41 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.59.10 (KHTML, like Gecko) Version/5.1.9 Safari/534.59.10

URL:
  <http://savannah.gnu.org/bugs/?45453>

                 Summary: Gamma returns -Inf as an overflow value for odd
integers
                 Project: GNU Octave
            Submitted by: matalex
            Submitted on: Mi 01 Jul 2015 09:32:39 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: *BSD

    _______________________________________________________

Details:

I have an instance of Octave 3.8.2 (current version) running under FreeBSD
10.1 (x86), which produces the below result. Not the oscillating sign of the
infinities.

I currently cannot compare versions under FreeBSD, but the results are correct
with 3.6.4 under OSX.


octave:58> gamma (160:180)
ans =

 Columns 1 through 7:

   2.9467e+282   4.7147e+284   7.5907e+286   1.2297e+289   2.0044e+291  
3.2872e+293   5.4239e+295

 Columns 8 through 14:

   9.0037e+297   1.5036e+300   2.5261e+302   4.2691e+304   7.2574e+306        
  Inf          -Inf

 Columns 15 through 21:

           Inf          -Inf           Inf          -Inf           Inf        
 -Inf           Inf





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45453>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]