diff options
Diffstat (limited to 'ext/bcmath/tests/bcpow_variation001.phpt')
-rw-r--r-- | ext/bcmath/tests/bcpow_variation001.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/bcmath/tests/bcpow_variation001.phpt b/ext/bcmath/tests/bcpow_variation001.phpt new file mode 100644 index 000000000..58e96b3c6 --- /dev/null +++ b/ext/bcmath/tests/bcpow_variation001.phpt @@ -0,0 +1,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
\ No newline at end of file |