xref: /PHP-7.1/ext/bcmath/tests/bcsqrt.phpt (revision b02dd10e)
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("1928372132132819737213", 5),"\n";
11?>
12--EXPECT--
133
1443913234134.28826
15