1--TEST--
2BcMath\Number sqrt()
3--EXTENSIONS--
4bcmath
5--FILE--
6<?php
7
8$radicants = [
9    "15151324141414.412312232141241",
10    "141241241241241248267654747412",
11    "0.1322135476547459213732911312",
12];
13
14foreach ($radicants as $radicant) {
15    $method_ret = (new BcMath\Number($radicant))->sqrt();
16    var_dump($method_ret);
17}
18?>
19--EXPECT--
20object(BcMath\Number)#2 (2) {
21  ["value"]=>
22  string(33) "3892470.1850385973524458288799178"
23  ["scale"]=>
24  int(25)
25}
26object(BcMath\Number)#3 (2) {
27  ["value"]=>
28  string(26) "375820756799356.7439216735"
29  ["scale"]=>
30  int(10)
31}
32object(BcMath\Number)#1 (2) {
33  ["value"]=>
34  string(40) "0.36361180901442945486553617684111499023"
35  ["scale"]=>
36  int(38)
37}
38