|
From: | Craig Hudson |
Subject: | [Octave-patch-tracker] [patch #8101] Correct return values of gamma() (see Numerical, item 3 on Projects page) |
Date: | Tue, 02 Jul 2013 13:31:28 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 |
URL: <http://savannah.gnu.org/patch/?8101> Summary: Correct return values of gamma() (see Numerical, item 3 on Projects page) Project: GNU Octave Submitted by: craighudson Submitted on: Tue 02 Jul 2013 01:31:26 PM GMT Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: gamma(x) returns NaN for x = negative integer or -Inf Returns -Inf for x = -0 or if result overflows and is negative Both of these are the same return values as tgamma() in <math.h> _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 02 Jul 2013 01:31:26 PM GMT Name: changeset.diff Size: 2kB By: craighudson Changeset for liboctave/numeric/specfun.cc. <http://savannah.gnu.org/patch/download.php?file_id=28478> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?8101> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |