xref: /PHP-8.2/ext/bcmath/tests/bcpow.phpt (revision 56f90492)
1--TEST--
2bcpow() function
3--EXTENSIONS--
4bcmath
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bcpow("1", "2"),"\n";
10echo bcpow("-2", "5", 4),"\n";
11echo bcpow("2", "64"),"\n";
12echo bcpow("-2.555", "5", 2),"\n";
13?>
14--EXPECT--
151
16-32.0000
1718446744073709551616
18-108.88
19