ruby-changes:14016
From: akr <ko1@a...>
Date: Tue, 17 Nov 2009 22:25:02 +0900 (JST)
Subject: [ruby-changes:14016] Ruby:r25825 (trunk): rdoc update.
akr 2009-11-17 22:24:53 +0900 (Tue, 17 Nov 2009) New Revision: 25825 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25825 Log: rdoc update. Modified files: trunk/math.c Index: math.c =================================================================== --- math.c (revision 25824) +++ math.c (revision 25825) @@ -600,7 +600,7 @@ * Calculates the gamma function of x. * * Note that gamma(n) is same as fact(n-1) for integer n > 0. - * However gamma(n) returns float and possibly has error in calculation. + * However gamma(n) returns float and can be an approximation. * * def fact(n) (1..n).inject(1) {|r,i| r*i } end * 1.upto(26) {|i| p [i, Math.gamma(i), fact(i-1)] } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/