blob: 7252a09d1e54adc0c1c15c36e24be8113e08de0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
bcpow() with a negative exponent
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--INI--
bcmath.scale=0
--FILE--
<?php
echo bcpow("2", "-4");
?>
--EXPECTF--
0
|