xref: /PHP-7.4/ext/bcmath/tests/bcsqrt.phpt (revision 06087614)
1--TEST--
2bcsqrt() function
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bcsqrt("9"),"\n";
10echo bcsqrt("9.444", 2),"\n";
11echo bcsqrt("1928372132132819737213", 5),"\n";
12?>
13--EXPECT--
143
153.07
1643913234134.28826
17