Searched refs:M_PI (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_matrix.c4 #ifndef M_PI
5 # define M_PI 3.14159265358979323846 macro
201 const double sin_t = sin (angle * M_PI / 180.0);
202 const double cos_t = cos (angle * M_PI / 180.0);
228 dst[2] = tan(angle * M_PI / 180.0);
249 dst[1] = tan(angle * M_PI / 180.0);;
H A Dgd_interpolation.c298 q = (double)sqrt(2.0f/(M_PI*x))*(double)(KernelBessel_P1(x)*(1.0f/sqrt(2.0f)*(sin(x)-cos(x)))-8.0f/x*KernelBessel_Q1(x)*
308 return (double)(M_PI/4.0f);
309 return (KernelBessel_Order1((double)M_PI*x)/(2.0f*x));
315 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x));
429 return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI);
446 return R * sin(x*M_PI) * si
[all...]
H A Dgd_arc_f_buggy.c245 s_sin = (long) ((double) 32768 * sin ((double) s * M_PI / (double) 180));
246 s_cos = (long) ((double) 32768 * cos ((double) s * M_PI / (double) 180));
255 e_sin = (long) ((double) 32768 * sin ((double) e * M_PI / (double) 180));
256 e_cos = (long) ((double) 32768 * cos ((double) e * M_PI / (double) 180));
610 a_sin = (long) ((double) 32768 * sin ((double) angle * M_PI / (double) 180));
611 a_cos = (long) ((double) 32768 * cos ((double) angle * M_PI / (double) 180));
/PHP_TRUNK/main/
H A Dwin95nt.h62 #define M_PI 3.14159265358979323846 macro
63 #define M_TWOPI (M_PI * 2.0)
/PHP_TRUNK/ext/gd/
H A Dgd.c89 #ifndef M_PI
90 #define M_PI 3.14159265358979323846 macro
3812 angle = angle * (M_PI/180);
4248 angle = angle * M_PI / 180;
/PHP_TRUNK/ext/standard/
H A Dmath.c648 RETURN_DOUBLE(M_PI);
918 RETURN_DOUBLE((deg / 180.0) * M_PI);
938 RETURN_DOUBLE((rad / M_PI) * 180);
H A Dphp_math.h109 #ifndef M_PI
110 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dbasic_functions.c3575 REGISTER_MATH_CONSTANT(M_PI);

Completed in 24 milliseconds