added missing since tags.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2009-05-24 06:11:01 +00:00
parent 9989286b49
commit 879d61962b
1 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,10 @@ public class Gamma implements Serializable {
/** Serializable version identifier */
private static final long serialVersionUID = -6587513359895466954L;
/** <a href="http://en.wikipedia.org/wiki/Euler-Mascheroni_constant">Euler-Mascheroni constant</a> */
/**
* <a href="http://en.wikipedia.org/wiki/Euler-Mascheroni_constant">Euler-Mascheroni constant</a>
* @since 2.0
*/
public static final double GAMMA = 0.577215664901532860606512090082;
/** Maximum allowed numerical error. */
@ -284,8 +287,10 @@ public class Gamma implements Serializable {
* <p> Performance for large negative values of x will be quite expensive (proportional to
* |x|). Accuracy for negative values of x should be about 10^-8 absolute for results
* less than 10^5 and 10^-8 relative for results larger than that.
*
* @param x argument
* @return value of the digamma function
* @since 2.0
*/
public static double digamma(double x) {
if (x > 0 && x <= S_LIMIT) {