Home | History | Annotate | Download | only in src

Lines Matching defs:pi

52  *	lgamma(x)~(x-0.5)log(x)-x+0.5*log(2pi)+1/(12x)-1/(360x**3)+....
54 * lgamma(x)~(x-0.5)*(log(x)-1)-.5*(log(2pi)-1) + ...)
64 * -x*G(-x)*G(x) = pi/sin(pi*x),
66 * G(x) = pi/(sin(pi*x)*(-x)*G(-x))
67 * since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
68 * Hence, for x<0, signgam = sign(sin(pi*x)) and
70 * = log(pi/(|x*sin(pi*x)|)) - lgamma(-x);
71 * Note: one should avoid compute pi*(-x) directly in the
72 * computation of sin(pi*(-x)).
94 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */
159 * Compute sin(pi*x) without actually doing the pi*x multiplication.
188 case 0: y = __kernel_sin(pi*y,zero,0); break;
190 case 2: y = __kernel_cos(pi*(0.5-y),zero); break;
192 case 4: y = __kernel_sin(pi*(one-y),zero,0); break;
194 case 6: y = -__kernel_cos(pi*(y-1.5),zero); break;
195 default: y = __kernel_sin(pi*(y-2.0),zero,0); break;
230 nadj = __ieee754_log(pi/fabs(t*x));