Lines Matching refs:gmp_sqrt
2 gmp_sqrt() basic tests
8 var_dump(gmp_strval(gmp_sqrt(-2)));
9 var_dump(gmp_strval(gmp_sqrt("-2")));
10 var_dump(gmp_strval(gmp_sqrt("0")));
11 var_dump(gmp_strval(gmp_sqrt("2")));
12 var_dump(gmp_strval(gmp_sqrt("144")));
15 var_dump(gmp_strval(gmp_sqrt($n)));
17 var_dump(gmp_strval(gmp_sqrt($n)));
19 var_dump(gmp_strval(gmp_sqrt($n)));
21 var_dump(gmp_sqrt($n, 1));
22 var_dump(gmp_sqrt());
23 var_dump(gmp_sqrt(array()));
28 Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %d
31 Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %d
38 Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %d
42 Warning: gmp_sqrt() expects exactly 1 parameter, 2 given in %s on line %d
45 Warning: gmp_sqrt() expects exactly 1 parameter, 0 given in %s on line %d
48 Warning: gmp_sqrt(): Unable to convert variable to GMP - wrong type in %s on line %d