php-src/ext/bcmath/tests/bcpow_variation001.phpt

12 lines
185 B
Plaintext
Raw Normal View History

2010-03-08 15:16:51 +00:00
--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