Home
last modified time | relevance | path

Searched refs:sqrt (Results 1 – 23 of 23) sorted by relevance

/PHP-8.4/ext/standard/tests/math/
H A Dsqrt_variation.phpt2 Test variations in usage of sqrt()
12 //Test sqrt with a different input values
13 echo "*** Testing sqrt() : usage variations ***\n";
29 $res = sqrt($values[$i]);
35 *** Testing sqrt() : usage variations ***
H A Dsqrt_basic.phpt2 Test return type and value for expected input sqrt()
13 var_dump(sqrt($arg_0));
H A Dsqrt_basiclong_64bit.phpt2 Test sqrt function : 64bit long tests
24 var_dump(sqrt($longVal));
H A Dpow.phpt71 var_dump(epsilon_equal( sqrt(2), pow(2,1/2) ));
/PHP-8.4/Zend/tests/
H A Dbug42143.phpt13 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-8.4/ext/bcmath/tests/number/methods/
H A Dsqrt.phpt2 BcMath\Number sqrt()
15 $method_ret = (new BcMath\Number($radicant))->sqrt();
H A Dsqrt_with_scale.phpt2 BcMath\Number sqrt() with scale
26 $method_ret = (new BcMath\Number($radicant))->sqrt($scale);
/PHP-8.4/ext/date/lib/
H A Dastro.c151 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-8.4/ext/bcmath/
H A Dconfig.w329 num2long.c recmul.c sqrt.c zero.c doaddsub.c \
H A Dconfig.m428 libbcmath/src/sqrt.c
H A Dbcmath_arginfo.h149 ZEND_METHOD(BcMath_Number, sqrt);
186 ZEND_ME(BcMath_Number, sqrt, arginfo_class_BcMath_Number_sqrt, ZEND_ACC_PUBLIC)
H A Dbcmath.stub.php80 public function sqrt(?int $scale = null): Number {} function in BcMath\\Number
H A Dbcmath.c1651 PHP_METHOD(BcMath_Number, sqrt) in PHP_METHOD() argument
/PHP-8.4/ext/gd/tests/
H A Dsimilarity.inc38 return sqrt(
H A Dbug53504.phpt82 $width = sqrt(pow($bboxDrawn[2] - $bboxDrawn[0], 2) + pow($bboxDrawn[3] - $bboxDrawn[1], 2));
/PHP-8.4/ext/gd/libgd/
H A Dgd_matrix.c291 return sqrt (fabs (src[0] * src[3] - src[1] * src[2])); in gdAffineExpansion()
H A Dgd_interpolation.c297 …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()
298 (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); in KernelBessel_Order1()
H A Dgd.c1633 long result = (long) sqrt ((double) n); in lsqrt()
/PHP-8.4/ext/standard/
H A Dmath.c697 PHP_FUNCTION(sqrt) in PHP_FUNCTION() argument
705 RETURN_DOUBLE(sqrt(num)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php3215 function sqrt(float $num): float {}
H A Dbasic_functions_arginfo.h2738 ZEND_FUNCTION(sqrt);
/PHP-8.4/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua1845 for name,n in pairs{ sqrt = 1, add = 8, mul = 9,
/PHP-8.4/ext/opcache/jit/ir/
H A Dir_x86.dasc1837 if (STR_EQUAL(name, name_len, "sqrt")) {

Completed in 107 milliseconds