Annotation of embedaddon/php/ext/bcmath/tests/bcscale_variation001.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: bcscale() with negative argument
                      3: --SKIPIF--
                      4: <?php if(!extension_loaded("bcmath")) print "skip"; ?>
                      5: --INI--
                      6: bcmath.scale=0
                      7: --FILE--
                      8: <?php
                      9: bcscale(-4);
                     10: echo bcdiv("20.56", "4");
                     11: ?>
                     12: --EXPECTF--
                     13: 5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>