Results of 1 - 10 of about 54 for べき乗 (0.002 sec.)
- 任意精度数値をべき乗する 10576
- « BcMath\Number::mul BcMath\Number::powmod » PHP Manual BcMath\Number 任意精度数値をべき乗する 検索 BcMath\Number::pow (PHP 8 >= 8.4.0) BcMath\Number::pow — 任意精度数値をべき乗する 説明 public function BcMath\Number::pow ( BcMath\Number |
... の BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 べき乗の結果を新しい BcMath\Number オブジェクトとして返します。 べき乗結果オブジェクトの BcMath\Number::scale が自動的に設定される ... 場合、 exponent の値に応じて、結果の BcMath\Number::scale が以下のようになります: exponent べき乗結果オブジェクトの BcMath\Number::scale 正の値 (基数の BcMath\Number::scale ) * ( exponent の値) 0 0 負の値 (基数の BcMath\N ... umber::scale ) と (基数の BcMath\Number::scale + 10 ) の間 負の exponent を指定し割り切れない除算が発生した場合、べき乗結果オブジェクトの BcMath\Number::scale が拡張されます。拡張は必要な場合にのみ行われ、最大で +10 まで拡張されます。 この動作 ...
-
https://man.mtool.work/php/8.3/bcmath-number.pow.html
- 任意精度数値をべき乗する 10502
- « BcMath\Number::mul BcMath\Number::powmod » PHP Manual BcMath\Number 任意精度数値をべき乗する 検索 BcMath\Number::pow (PHP 8 >= 8.4.0) BcMath\Number::pow — 任意精度数値をべき乗する 説明 public function BcMath\Number::pow ( BcMath\Number |
... の BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 べき乗の結果を新しい BcMath\Number オブジェクトとして返します。 べき乗結果オブジェクトの BcMath\Number::scale が自動的に設定される ... 場合、 exponent の値に応じて、結果の BcMath\Number::scale が以下のようになります: exponent べき乗結果オブジェクトの BcMath\Number::scale 正の値 (基数の BcMath\Number::scale ) * ( exponent の値) 0 0 負の値 (基数の BcMath\N ... umber::scale ) と (基数の BcMath\Number::scale + 10 ) の間 負の exponent を指定し割り切れない除算が発生した場合、べき乗結果オブジェクトの BcMath\Number::scale が拡張されます。拡張は必要な場合にのみ行われ、最大で +10 まで拡張されます。 この動作 ...
-
https://man.mtool.work/php/8.3/bcmath-number.pow.html
- べき乗を計算する 10057
- « gmp_popcount gmp_powm » PHP Manual GMP 関数 べき乗を計算する 検索 gmp_pow (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_pow — べき乗を計算する 説明 function gmp_pow ( GMP | int | string $num , int $exponent ): GMP num の exponent 乗を計算しま
... 出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 exponent 正の数で、 num を何乗するかを指定します。 戻り値 べき乗の結果を GMP 数で返します。 0^0 は 1 となります。 例 例1 gmp_pow() の例 <?php $pow1 = gmp_pow ( "2" , 31 ); echo gmp_strval ... ( $pow1 ) . "\n" ; $pow2 = gmp_pow ( "0" , 0 ); echo gmp_strval ( $pow2 ) . "\n" ; $pow3 = gmp_pow ( "2" , - 1 ); // 負のべき乗を指定したため、警告を発生します echo gmp_strval ( $pow3 ) . "\n" ; ?> 上の例の出力は以下となります。 2147483648 1 関連キーワ ... ード: べき乗 計算 exponent strval 解釈 popcount powm 数値 init 基数 検出 base 方法 ...
-
https://man.mtool.work/php/8.3/function.gmp-pow.html
- べき乗を計算する 9968
- « gmp_popcount gmp_powm » PHP Manual GMP 関数 べき乗を計算する 検索 gmp_pow (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_pow — べき乗を計算する 説明 function gmp_pow ( GMP | int | string $num , int $exponent ): GMP num の exponent 乗を計算しま
... 出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 exponent 正の数で、 num を何乗するかを指定します。 戻り値 べき乗の結果を GMP 数で返します。 0^0 は 1 となります。 例 例1 gmp_pow() の例 <?php $pow1 = gmp_pow ( "2" , 31 ); echo gmp_strval ... ( $pow1 ) . "\n" ; $pow2 = gmp_pow ( "0" , 0 ); echo gmp_strval ( $pow2 ) . "\n" ; $pow3 = gmp_pow ( "2" , - 1 ); // 負のべき乗を指定したため、警告を発生します echo gmp_strval ( $pow3 ) . "\n" ; ?> 上の例の出力は以下となります。 2147483648 1 関連キーワ ... ード: gmp pow べき乗 計算 num int exponent echo strval string 解釈 とき popcount Search powm function パラメータ もと オブジェクト 数値 ...
-
https://man.mtool.work/php/8.3/function.gmp-pow.html
- IEEE 754 に従い、数値をべき乗する 9449
- « fmod hexdec » PHP Manual Math 関数 IEEE 754 に従い、数値をべき乗する 検索 fpow (PHP 8 >= 8.4.0) fpow — IEEE 754 に従い、数値をべき乗する 説明 function fpow ( float $num , float $exponent ): float num の exponent 乗の結果を浮動小数点数とし
... fpow ( 0 , - 3 )); var_dump ( fpow (- 1 , 5.5 )); ?> 上の例の出力は以下となります。 float(100) float(INF) float(NAN) 参考 べき乗演算子 ** pow() - 指数表現 fdiv() - IEEE 754 に従い、数値の除算を行う fmod() - 引数で除算をした際の剰余を返す 関連キーワード ... : fpow float num exponent 数値 べき乗 var dump fmod 指数 除算 Search hexdec Math function 結果 浮動 小数 点数 負数 ...
-
https://man.mtool.work/php/8.3/function.fpow.html
- IEEE 754 に従い、数値をべき乗する 9449
- « fmod hexdec » PHP Manual Math 関数 IEEE 754 に従い、数値をべき乗する 検索 fpow (PHP 8 >= 8.4.0) fpow — IEEE 754 に従い、数値をべき乗する 説明 function fpow ( float $num , float $exponent ): float num の exponent 乗の結果を浮動小数点数とし
... fpow ( 0 , - 3 )); var_dump ( fpow (- 1 , 5.5 )); ?> 上の例の出力は以下となります。 float(100) float(INF) float(NAN) 参考 べき乗演算子 ** pow() - 指数表現 fdiv() - IEEE 754 に従い、数値の除算を行う fmod() - 引数で除算をした際の剰余を返す 関連キーワード ... : fpow float exponent 数値 べき乗 dump fmod 指数 除算 hexdec Math 浮動 小数 点数 負数 基数 参考 演算子 表現 fdiv 剰余 ...
-
https://man.mtool.work/php/8.3/function.fpow.html
- 任意精度数値をべき乗する 9360
- « bcmul bcpowmod » PHP Manual BC Math 関数 任意精度数値をべき乗する 検索 bcpow (PHP 4, PHP 5, PHP 7, PHP 8) bcpow — 任意精度数値をべき乗する 説明 function bcpow ( string $num , string $exponent , ? int $scale = null ): string num の exponen
... の値が 0 かつ exponent が負の値である場合、 DivisionByZeroError 例外をスローします。 変更履歴 バージョン 説明 8.4.0 0 の負のべき乗を行った場合、 0 を返す代わりに DivisionByZeroError がスローされるようになりました。 8.0.0 exponent が小数部を持つ場合、 Val ... 指定する例 <?php echo bcpow ( '5' , '2' , 2 ); // 結果は "25.00" ではなく "25" となります ?> 参考 bcpowmod() - 任意精度数値のべき乗の、指定した数値による剰余 bcsqrt() - 任意精度数値の平方根を取得する BcMath\Number::pow() - 任意精度数値をべき乗する 関連キー ... ワード: 場合 数値 bcpow exponent 精度 scale 任意 べき乗 num string 指数 整数 範囲 結果 桁数 バージョン bcmul bcpowmod null 例外 ...
-
https://man.mtool.work/php/8.3/function.bcpow.html
- 指数表現 9360
- « pi rad2deg » PHP Manual Math 関数 指数表現 検索 pow (PHP 4, PHP 5, PHP 7, PHP 8) pow — 指数表現 説明 function pow ( mixed $num , mixed $exponent ): int | float | object num の exponent 乗を返します。 注意 : ** 演算子も使えます。 パラメータ
... この関数はすべての入力を (スカラー値以外でも) 数値に変換します。 その結果、 予想外の 結果を引き起こすことがあります。 参考 べき乗演算子 ** fpow() - IEEE 754 に従い、数値をべき乗する exp() - e の累乗を計算する sqrt() - 平方根 bcpow() - 任意精度数値をべき ... 乗する gmp_pow() - べき乗を計算する 関連キーワード: pow exponent 結果 指数 num int echo べき乗 表現 場合 数値 mixed float object 演算子 基数 以外 オブ ...
-
https://man.mtool.work/php/8.3/function.pow.html
- 指数表現 9360
- « pi rad2deg » PHP Manual Math 関数 指数表現 検索 pow (PHP 4, PHP 5, PHP 7, PHP 8) pow — 指数表現 説明 function pow ( mixed $num , mixed $exponent ): int | float | object num の exponent 乗を返します。 注意 : ** 演算子も使えます。 パラメータ
... この関数はすべての入力を (スカラー値以外でも) 数値に変換します。 その結果、 予想外の 結果を引き起こすことがあります。 参考 べき乗演算子 ** fpow() - IEEE 754 に従い、数値をべき乗する exp() - e の累乗を計算する sqrt() - 平方根 bcpow() - 任意精度数値をべき ... 乗する gmp_pow() - べき乗を計算する 関連キーワード: exponent 指数 べき乗 表現 数値 mixed float 演算子 基数 dump 計算 Math 両方 整数 範囲 拡張 演算 履 ...
-
https://man.mtool.work/php/8.3/function.pow.html
- 任意精度数値をべき乗する 9285
- « bcmul bcpowmod » PHP Manual BC Math 関数 任意精度数値をべき乗する 検索 bcpow (PHP 4, PHP 5, PHP 7, PHP 8) bcpow — 任意精度数値をべき乗する 説明 function bcpow ( string $num , string $exponent , ? int $scale = null ): string num の exponen
... の値が 0 かつ exponent が負の値である場合、 DivisionByZeroError 例外をスローします。 変更履歴 バージョン 説明 8.4.0 0 の負のべき乗を行った場合、 0 を返す代わりに DivisionByZeroError がスローされるようになりました。 8.0.0 exponent が小数部を持つ場合、 Val ... 指定する例 <?php echo bcpow ( '5' , '2' , 2 ); // 結果は "25.00" ではなく "25" となります ?> 参考 bcpowmod() - 任意精度数値のべき乗の、指定した数値による剰余 bcsqrt() - 任意精度数値の平方根を取得する BcMath\Number::pow() - 任意精度数値をべき乗する 関連キー ... ワード: 数値 bcpow exponent 精度 scale 任意 べき乗 指数 整数 範囲 桁数 bcmul bcpowmod ValueError DivisionByZeroError 小数 可能性 Math 基数 プラットフォーム 依存 小数点 bcsca ...
-
https://man.mtool.work/php/8.3/function.bcpow.html