|
PHP5中文手册
gmp_pow(PHP 4 >= 4.0.4, PHP 5) gmp_pow — Raise number into power 说明
resource gmp_pow
( resource $base
, int $exp
)
Raise base into power exp . 参数
返回值The new (raised) number, as a GMP number. The case of 0^0 yields 1. 范例
Example#1 gmp_pow() example
<?php 上例将输出:
|