Searched refs:sqrt (Results 1 – 19 of 19) sorted by relevance
/PHP-7.0/ext/standard/tests/math/ |
H A D | sqrt_error.phpt | 2 Test wrong number of arguments for sqrt() 8 * proto float sqrt(float number) 16 var_dump(sqrt($arg_0, $extra_arg)); 19 var_dump(sqrt()); 25 Warning: sqrt() expects exactly 1 parameter, 2 given in %s on line %d 30 Warning: sqrt() expects exactly 1 parameter, 0 given in %s on line %d
|
H A D | sqrt_variation.phpt | 2 Test variations in usage of sqrt() 8 * proto float sqrt(float number) 13 //Test sqrt with a different input values 14 echo "*** Testing sqrt() : usage variations ***\n"; 33 $res = sqrt($values[$i]); 40 *** Testing sqrt() : usage variations *** 51 Warning: sqrt() expects parameter 1 to be float, string given in %s on line %d
|
H A D | sqrt_basic.phpt | 2 Test return type and value for expected input sqrt() 8 * proto float sqrt(float number) 14 var_dump(sqrt($arg_0));
|
H A D | sqrt_basiclong_64bit.phpt | 2 Test sqrt function : 64bit long tests 24 var_dump(sqrt($longVal));
|
H A D | pow.phpt | 68 sqrt(2) ~== pow(2,1/2)
|
/PHP-7.0/Zend/tests/ |
H A D | bug42143.phpt | 13 var_dump(sqrt(-0.1) == false); 14 var_dump(sqrt(cos(M_PI)) == 0.1); 16 var_dump(is_nan(sqrt(-1.005)) == false);
|
/PHP-7.0/ext/date/lib/ |
H A D | astro.c | 151 y = sqrt(1.0 - e*e) * sind(E); in astro_sunpos() 152 *r = sqrt(x*x + y*y); /* Solar distance */ in astro_sunpos() 180 *dec = atan2d(z, sqrt(x*x + y*y)); in astro_sun_RA_dec()
|
/PHP-7.0/ext/bcmath/libbcmath/src/ |
H A D | Makefile.am | 9 raise.c raisemod.c recmul.c rmzero.c sqrt.c str2num.c sub.c zero.c \
|
/PHP-7.0/ext/standard/ |
H A D | math.c | 231 return log(z + sqrt(z * z + 1)); in php_asinh() 234 return -log(-z + sqrt(z * z + 1)); in php_asinh() 237 return(log(z + sqrt(1 + pow(z, 2))) / log(M_E)); in php_asinh() 252 return log(x + sqrt(x * x - 1)); in php_acosh() 257 return(log(x + sqrt(x * x - 1))); in php_acosh() 750 PHP_FUNCTION(sqrt) in PHP_FUNCTION() argument 758 RETURN_DOUBLE(sqrt(num)); in PHP_FUNCTION() 778 RETURN_DOUBLE(sqrt((num1 * num1) + (num2 * num2))); in PHP_FUNCTION()
|
H A D | php_math.h | 48 PHP_FUNCTION(sqrt);
|
H A D | basic_functions.c | 2911 PHP_FE(sqrt, arginfo_sqrt)
|
/PHP-7.0/ext/bcmath/ |
H A D | config.w32 | 10 num2long.c output.c recmul.c sqrt.c zero.c debug.c doaddsub.c \
|
H A D | config.m4 | 12 libbcmath/src/sqrt.c libbcmath/src/zero.c libbcmath/src/debug.c libbcmath/src/doaddsub.c libbcmath/…
|
/PHP-7.0/ext/gd/tests/ |
H A D | similarity.inc | 38 return sqrt(
|
H A D | bug53504.phpt | 78 $width = sqrt(pow($bboxDrawn[2] - $bboxDrawn[0], 2) + pow($bboxDrawn[3] - $bboxDrawn[1], 2));
|
/PHP-7.0/ext/gd/libgd/ |
H A D | gd_crop.c | 354 const double dist = sqrt(dr * dr + dg * dg + db * db + da * da); in gdColorMatch() 355 const double dist_perc = sqrt(dist / (255^2 + 255^2 + 255^2)); in gdColorMatch()
|
H A D | gd_matrix.c | 293 return sqrt (fabs (src[0] * src[3] - src[1] * src[2])); in gdAffineExpansion()
|
H A D | gd_interpolation.c | 308 …q = (double)sqrt(2.0f/(M_PI*x))*(double)(KernelBessel_P1(x)*(1.0f/sqrt(2.0f)*(sin(x)-cos(x)))-8.0f… in KernelBessel_Order1() 309 (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); in KernelBessel_Order1()
|
H A D | gd.c | 1630 long result = (long) sqrt ((double) n); in lsqrt()
|
Completed in 74 milliseconds