Lines Matching refs:pi
54 * lgamma(x)~(x-0.5)log(x)-x+0.5*log(2pi)+1/(12x)-1/(360x**3)+....
56 * lgamma(x)~(x-0.5)*(log(x)-1)-.5*(log(2pi)-1) + ...)
66 * -x*G(-x)*G(x) = pi/sin(pi*x),
68 * G(x) = pi/(sin(pi*x)*(-x)*G(-x))
69 * since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
70 * Hence, for x<0, signgam = sign(sin(pi*x)) and
72 * = log(pi/(|x*sin(pi*x)|)) - lgamma(-x);
73 * Note: one should avoid compute pi*(-x) directly in the
74 * computation of sin(pi*(-x)).
93 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */
167 if(ix<0x3fd00000) return __kernel_sin(pi*x,zero,0);
191 case 0: y = __kernel_sin(pi*y,zero,0); break;
193 case 2: y = __kernel_cos(pi*(0.5-y),zero); break;
195 case 4: y = __kernel_sin(pi*(one-y),zero,0); break;
197 case 6: y = -__kernel_cos(pi*(y-1.5),zero); break;
198 default: y = __kernel_sin(pi*(y-2.0),zero,0); break;
229 nadj = __ieee754_log(pi/fabs(t*x));