男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站

pow

(PHP 4, PHP 5, PHP 7, PHP 8)

pow指數表達式

說(shuō)明

pow(number $base, number $exp): number

返回 baseexp 次方的冪。如果可能,本函數會(huì )返回 integer。

參數

base

The base to use

exp

指數

返回值

baseexp 次方的冪。 If both arguments are non-negative integers and the result can be represented as an integer, the result will be returned with integer type, otherwise it will be returned as a float.

更新日志

版本 說(shuō)明
4.2.0 如果不能計算冪,將發(fā)出一條警告,pow() 將返回 false。pow() 開(kāi)始不產(chǎn)生任何的警告。
4.0.6 如果可能函數現在會(huì )返回 integer 的結果,之前 總是返回 float,For older versions, you may receive a bogus result for complex numbers.

范例

示例 #1 pow() 的一些例子

<?php

var_dump
(pow(28)); // int(256)
echo pow(-120); // 1
echo pow(00); // 1

echo pow(-15.5); // PHP >4.0.6  NAN
echo pow(-15.5); // PHP <=4.0.6 1.#IND
?>

注釋

注意:

本函數會(huì )轉換所有輸入為數字,即使是非標量值,會(huì )導致怪異的(weird)結果。

參見(jiàn)

男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站