Searched refs:cos (Results 1 – 25 of 25) sorted by relevance
/PHP-5.5/ext/standard/tests/math/ |
H A D | cos_basic.phpt | 26 echo "cos 30 = "; 35 echo "cos 60 = "; 44 echo "cos 90 = "; 53 echo "cos 180 = "; 62 echo "cos 270 = "; 71 echo "cos 360 = "; 81 cos 30 = float(%f) 83 cos 60 = float(%f) 85 cos 90 = float(%f) 87 cos 180 = float(%f) [all …]
|
H A D | cos_error.phpt | 2 Test wrong number of arguments for cos() 6 * proto float cos(float number) 14 var_dump(cos($arg_0, $extra_arg)); 17 var_dump(cos()); 23 Warning: cos() expects exactly 1 parameter, 2 given in %s on line %d 28 Warning: cos() expects exactly 1 parameter, 0 given in %s on line %d
|
H A D | cos_variation.phpt | 2 Test variations in usage of cos() 8 * proto float cos(float number) 13 //Test cos with a different input values 32 $res = cos($values[$i]); 48 Warning: cos() expects parameter 1 to be double, string given in %s on line %d
|
H A D | cos_basiclong_64bit.phpt | 2 Test cos function : 64bit long tests 24 var_dump(cos($longVal));
|
/PHP-5.5/Zend/tests/ |
H A D | bug54585.phpt | 8 unset($source[$cos]); 14 Notice: Undefined variable: cos in %sbug54585.php on line 3
|
H A D | bug42143.phpt | 11 var_dump(cos(-100) == "PHP String"); 14 var_dump(sqrt(cos(M_PI)) == 0.1);
|
H A D | get_defined_functions_basic.phpt | 37 if (!in_array("cos", $internal) || !in_array("strlen", $internal)) {
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | get_extension_funcs_basic.phpt | 15 var_dump(in_array("cos", $result));
|
/PHP-5.5/ext/gd/libgd/ |
H A D | mathmake.c | 16 basis[i] = cos ((double) i * .0174532925) * scale; in main()
|
H A D | gd_interpolation.c | 297 (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); in KernelBessel_Order1() 313 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); in filter_blackman() 509 if ((x >= -1.0) && (x <= 1.0)) return ((cos(x * M_PI) + 1.0)/2.0); in filter_cosine() 563 return(0.5 + 0.5 * cos(M_PI * x)); in filter_hanning() 1705 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateNearestNeighbour() 1754 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateGeneric() 1808 unsigned int new_width = abs((int)(src_w*cos(_angle))) + abs((int)(src_h*sin(_angle) + 0.5f)); in gdImageRotateBilinear() 1809 unsigned int new_height = abs((int)(src_w*sin(_angle))) + abs((int)(src_h*cos(_angle) + 0.5f)); in gdImageRotateBilinear() 1813 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBilinear() 1923 …const unsigned int new_width = abs((int)(src_w*cos(_angle))) + abs((int)(src_h*sin(_angle) + 0.5f)… in gdImageRotateBicubicFixed() [all …]
|
H A D | gd_matrix.c | 202 const double cos_t = cos (angle * M_PI / 180.0); in gdAffineRotate()
|
H A D | gd_arc_f_buggy.c | 246 s_cos = (long) ((double) 32768 * cos ((double) s * M_PI / (double) 180)); 256 e_cos = (long) ((double) 32768 * cos ((double) e * M_PI / (double) 180)); 611 a_cos = (long) ((double) 32768 * cos ((double) angle * M_PI / (double) 180));
|
H A D | gd_rotate.c | 434 newy = (int) ((double) src->sx * fabs( dSinE ) + (double) src->sy * cos (dRadAngle))+1; in gdImageRotate45() 465 newx = (int) ((double)src->sy * fabs (dSinE) + (double)src->sx * cos (dRadAngle)) + 1; in gdImageRotate45()
|
H A D | gdft.c | 786 double cos_a = cos (angle);
|
H A D | gd.c | 1141 double ac = cos (atan2 (dy, dx)); in gdImageLine()
|
/PHP-5.5/scripts/dev/generate-phpt/src/texts/ |
H A D | help.txt | 5 -f function_name ................. Name of PHP function, eg cos
|
/PHP-5.5/ext/gd/tests/ |
H A D | bug43073_1.phpt | 21 $cos_t = cos(deg2rad($delta_t));
|
H A D | bug43073.phpt | 21 $cos_t = cos(deg2rad($delta_t));
|
/PHP-5.5/ext/standard/ |
H A D | php_math.h | 33 PHP_FUNCTION(cos);
|
H A D | math.c | 396 PHP_FUNCTION(cos) in PHP_FUNCTION() argument 403 RETURN_DOUBLE(cos(num)); in PHP_FUNCTION()
|
H A D | basic_functions.c | 2904 PHP_FE(cos, arginfo_cos)
|
/PHP-5.5/ext/date/lib/ |
H A D | astro.c | 41 #define cosd(x) cos((x)*DEGRAD)
|
/PHP-5.5/scripts/dev/ |
H A D | generate-phpt.phar | 260 -f function_name ................. Name of PHP function, eg cos
|
/PHP-5.5/ext/gd/ |
H A D | gd.c | 4278 cos_a = cos(angle); in PHP_FUNCTION()
|
/PHP-5.5/build/ |
H A D | libtool.m4 | 2627 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") 2630 AC_CHECK_LIB(m, cos, LIBM="-lm")
|
Completed in 136 milliseconds