|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #43551] Matlab incompatibility for gamma function for negative integer arguments |
Date: | Fri, 07 Nov 2014 21:07:07 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
Follow-up Comment #7, bug #43551 (project octave): The value is undefined at negative integer values in the same way that 1/0 is undefined. lim 1/x == -Inf x->0- lim x->0+ 1/x == +Inf The magnitude is infinite, but the phase can't be determined. We could return NaN in this case to be mathematically precise, but nobody bothers to. This suggests that we drop mathematical correctness and just go with the rest of the crowd. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?43551> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |