Results of 1 - 10 of about 17 for exponent (0.001 sec.)
- BcMath\Number::pow — 任意精度数値をべき乗する | PHP 8.3 12190
- BcMath\Number::pow (PHP 8 >= 8.4.0) BcMath\Number::pow — 任意精度数値をべき乗する 説明 public function BcMath\Number::pow ( BcMath\Number | string | int $exponent , ? int $scale = null ): BcMath\Number $this の exponent 乗を求めます。 パラメ
... ータ exponent 指数を表す値。整数値でなければなりません。 exponent の有効な範囲はプラットフォームに依存しますが、少なくとも -2147483648 か ... を新しい BcMath\Number オブジェクトとして返します。 べき乗結果オブジェクトの BcMath\Number::scale が自動的に設定される場合、 exponent の値に応じて、結果の BcMath\Number::scale が以下のようになります: exponent べき乗結果オブジェクトの BcMath\Number::scale 正 ... の値 (基数の BcMath\Number::scale ) * ( exponent の値) 0 0 負の値 (基数の BcMath\Number::scale ) と (基数の BcMath\Number::scale + 10 ) の間 負の exponent を指定し割り切れ ...
-
https://man.mtool.work/php/8.3/bcmath-number.pow.html
- bcpow — 任意精度数値をべき乗する | PHP 8.3 10931
- bcpow (PHP 4, PHP 5, PHP 7, PHP 8) bcpow — 任意精度数値をべき乗する 説明 function bcpow ( string $num , string $exponent , ? int $scale = null ): string num の exponent 乗を求めます。 パラメータ num 基数を表す文字列。 exponent 指数を表す文字
... 使用します。 戻り値 結果を文字列で返します。 エラー / 例外 この関数は、以下の場合に ValueError をスローします: num もしくは exponent が、BCMath で有効でない数値形式の文字列である場合 exponent が整数値でない場合 exponent もしくは scale が範囲外の値である場 ... 合 この関数は、 num の値が 0 かつ exponent が負の値である場合、 DivisionByZeroError 例外をスローします。 変更履歴 バージョン 説明 8.4.0 0 の負のべき乗を行った場合、 ... 0 を返す代わりに DivisionByZeroError がスローされるようになりました。 8.0.0 exponent が小数部を持つ場合、 ValueError がスローされるようになりました。 以前は、小数部を切り捨てて整数として計算を行っていました。 ...
-
https://man.mtool.work/php/8.3/function.bcpow.html
- fpow — IEEE 754 に従い、数値をべき乗する | PHP 8.3 10724
- fpow (PHP 8 >= 8.4.0) fpow — IEEE 754 に従い、数値をべき乗する 説明 function fpow ( float $num , float $exponent ): float num の exponent 乗の結果を浮動小数点数として返します。 num が 0 で exponent が負数の場合は、 INF を返します。 パラメー
... タ num 使用する基数。 exponent 指数。 戻り値 $num $exponent を float で返します。 例 例1 fpow() の例 <?php var_dump ( fpow ( 10 , 2 )); var_dump ( fpow ( ...
-
https://man.mtool.work/php/8.3/function.fpow.html
- bcpowmod — 任意精度数値のべき乗の、指定した数値による剰余 | PHP 8.3 10449
- bcpowmod (PHP 5, PHP 7, PHP 8) bcpowmod — 任意精度数値のべき乗の、指定した数値による剰余 説明 function bcpowmod ( string $num , string $exponent , string $modulus , ? int $scale = null ): string modulus で割った余りを求めることを考慮して、
... num の exponent 乗を高速に計算します。 パラメータ num 基数を表す整数の文字列。 (つまり、scale は 0 でなければいけません) exponent 指数を表 ... の値を使用します。 戻り値 結果を文字列で返します。 エラー / 例外 この関数は、以下の場合に ValueError をスローします: num か exponent か modulus のいずれかが、BCMath で有効でない数値形式の文字列である場合 num か exponent か modulus のいずれかが整数値でない ... 場合 exponent が負の値である場合 scale が範囲外の値である場合 この関数は、 modulus の値が 0 である場合、 DivisionByZeroError 例外をスロー ...
-
https://man.mtool.work/php/8.3/function.bcpowmod.html
- pow — 指数表現 | PHP 8.3 9828
- pow (PHP 4, PHP 5, PHP 7, PHP 8) pow — 指数表現 説明 function pow ( mixed $num , mixed $exponent ): int | float | object num の exponent 乗を返します。 注意 : ** 演算子も使えます。 パラメータ num 使用する基数。 exponent 指数。 戻り値 num の
... exponent 乗を返します。 両方の引数が非負の整数で、かつ結果が int 型の範囲に収まる場合は、結果を int 型で返します。 それ以外の場合は ... ルは、この演算の振る舞いを上書きし、オブジェクトを返させても構いません。 変更履歴 バージョン 説明 8.4.0 基数が 0 の場合に、 exponent を負数とするのは非推奨となりました。 例 例1 pow() の例 <?php var_dump ( pow ( 2 , 8 )); // int(256) echo pow (- 1 , 20 ), ...
-
https://man.mtool.work/php/8.3/function.pow.html
- gmp_pow — べき乗を計算する | PHP 8.3 9552
- 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 乗を計算します。 パラメータ num もととなる数。 GMP オブジェクト、 int 、 あるいは
... 釈可能な string 。 文字列の場合、 gmp_init() で基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 exponent 正の数で、 num を何乗するかを指定します。 戻り値 べき乗の結果を GMP 数で返します。 0^0 は 1 となります。 エラー / 例外 exp ...
-
https://man.mtool.work/php/8.3/function.gmp-pow.html
- BcMath\Number::powmod — 任意精度数値のべき乗の、指定した数値による剰余 | PHP 8.... 9483
- BcMath\Number::powmod (PHP 8 >= 8.4.0) BcMath\Number::powmod — 任意精度数値のべき乗の、指定した数値による剰余 説明 public function BcMath\Number::powmod ( BcMath\Number | string | int $exponent , BcMath\Number | string | int $modulus , ? in
... t $scale = null ): BcMath\Number modulus で割った余りを求めることを考慮して、 $this の exponent 乗を高速に計算します。 パラメータ exponent 基数を表す整数の値。 (つまり、scale は 0 でなければいけません) modulus 指数を表 ... :scale が自動的に設定される場合、常に 0 になります。 エラー / 例外 このメソッドは、以下の場合に ValueError をスローします: exponent もしくは modulus が、BCMath で有効でない数値形式の文字列である場合 $this か exponent か modulus のうち、どれか一つでも整数 ... 値でない場合 exponent が負の値である場合 scale が範囲外の値である場合 このメソッドは、 modulus が 0 である場合、 DivisionByZeroError 例外をスロー ...
-
https://man.mtool.work/php/8.3/bcmath-number.powmod.html
- gmp_powm — べき乗とモジュロを計算する | PHP 8.3 9207
- gmp_powm (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_powm — べき乗とモジュロを計算する 説明 function gmp_powm ( GMP | int | string $num , GMP | int | string $exponent , GMP | int | string $modulus ): GMP modulus を法として ( num の exponent 乗
... 釈可能な string 。 文字列の場合、 gmp_init() で基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 exponent 正の数で、 num を何乗するかを指定します。 GMP オブジェクト、 int 、 あるいは数値として解釈可能な string 。 文字列の場合、 ... 基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 戻り値 結果を GMP 数で返します。 エラー / 例外 exponent が負の場合、 ValueError がスローされます。 modulus が 0 の場合、 DivisionByZeroError がスローされます。 PHP 8.0.0 より前の ...
-
https://man.mtool.work/php/8.3/function.gmp-powm.html
- openssl_pkey_get_details — キーの詳細の配列を返す | PHP 8.3 7535
- openssl_pkey_get_details (PHP 5 >= 5.2.0, PHP 7, PHP 8) openssl_pkey_get_details — キーの詳細の配列を返す 説明 function openssl_pkey_get_details ( OpenSSLAsymmetricKey $key ): array | false この関数は、キーの詳細 (bits, key, type) を返します
... しましょう。 OPENSSL_KEYTYPE_RSA の場合は "rsa" というキーがあり、キーのデータが返されます。 Key 説明 "n" modulus "e" public exponent "d" private exponent "p" prime 1 "q" prime 2 "dmp1" exponent1, d mod (p-1) "dmq1" exponent2, d mod (q-1) "iqmp" coefficien ...
-
https://man.mtool.work/php/8.3/function.openssl-pkey-get-details.html
- BcMath\Number クラス | PHP 8.3 7466
- BcMath\Number クラス (PHP 8 >= 8.4.0) はじめに 任意精度数値のクラスです。 このオブジェクトは、オーバーロードされた 算術演算子 , 比較演算子 をサポートしています。 注意 : このクラスは、 php.ini で設定された bcmath.scale INI ディレクティブの影
... Math\Number | string | int $num , ? int $scale = null ): BcMath\Number public function pow ( BcMath\Number | string | int $exponent , ? int $scale = null ): BcMath\Number public function powmod ( BcMath\Number | string | int $exponent , BcMath\Number | s ...
-
https://man.mtool.work/php/8.3/class.bcmath-number.html