« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 16 for fact (0.002 sec.)
階乗 12667
« gmp_export gmp_gcd » PHP Manual GMP 関数 階乗 検索 gmp_fact (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_fact — 階乗 説明 function gmp_fact ( GMP | int | string $num ): GMP num の階乗 ( num! ) を計算します。 パラメータ num 階乗を求める数。 G ... 基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 戻り値 GMP オブジェクトを返します。 例 例1 gmp_fact() の例 <?php $fact1 = gmp_fact ( 5 ); // 5 * 4 * 3 * 2 * 1 echo gmp_strval ( $fact1 ) . "\n" ; $fact2 = gmp_fact ( 50 ); / ... / 50 * 49 * 48, ... etc echo gmp_strval ( $fact2 ) . "\n" ; ?> 上の例の出力は以下となります。 120 30414093201713378043612608166064768844377641568960512000000000000 関連キ ... ーワード: fact 階乗 解釈 strval export 計算 数値 init 基数 検出 base 方法 ...
https://man.mtool.work/php/8.3/function.gmp-fact.html
階乗 12597
« gmp_export gmp_gcd » PHP Manual GMP 関数 階乗 検索 gmp_fact (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_fact — 階乗 説明 function gmp_fact ( GMP | int | string $num ): GMP num の階乗 ( num! ) を計算します。 パラメータ num 階乗を求める数。 G ... 基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 戻り値 GMP オブジェクトを返します。 例 例1 gmp_fact() の例 <?php $fact1 = gmp_fact ( 5 ); // 5 * 4 * 3 * 2 * 1 echo gmp_strval ( $fact1 ) . "\n" ; $fact2 = gmp_fact ( 50 ); / ... / 50 * 49 * 48, ... etc echo gmp_strval ( $fact2 ) . "\n" ; ?> 上の例の出力は以下となります。 120 30414093201713378043612608166064768844377641568960512000000000000 関連キ ... ーワード: gmp fact 階乗 num int string オブジェクト 解釈 とき echo strval export Search gcd function 計算 パラメータ 数値 場合 init ...
https://man.mtool.work/php/8.3/function.gmp-fact.html
例 10050
« 定義済み定数 GMP 関数 » PHP Manual GMP 例 検索 例 例1 GMP を使用した階乗関数 <?php function fact ( $x ) { $return = 1 ; for ( $i = 2 ; $i <= $x ; $i ++) { $return = gmp_mul ( $return , $i ); } return $return ; } echo gmp_strval ( fact ( 1 ... 000 )) . "\n" ; ?> この例は、1000 の階乗(非常に大きな数です)を非常に高速に計算します。 関連キーワード: return 階乗 fact 定数 strval 高速 計算 ...
https://man.mtool.work/php/8.3/gmp.examples.html
例 9981
« 定義済み定数 GMP 関数 » PHP Manual GMP 例 検索 例 例1 GMP を使用した階乗関数 <?php function fact ( $x ) { $return = 1 ; for ( $i = 2 ; $i <= $x ; $i ++) { $return = gmp_mul ( $return , $i ); } return $return ; } echo gmp_strval ( fact ( 1 ... 000 )) . "\n" ; ?> この例は、1000 の階乗(非常に大きな数です)を非常に高速に計算します。 関連キーワード: return 階乗 fact gmp 定数 Search php function mul echo strval 高速 計算 navigate Enter select Esc close open ...
https://man.mtool.work/php/8.3/gmp.examples.html
バイナリ文字列にエクスポートする 8491
« gmp_divexact gmp_fact » PHP Manual GMP 関数 バイナリ文字列にエクスポートする 検索 gmp_export (PHP 5 >= 5.6.1, PHP 7, PHP 8) gmp_export — バイナリ文字列にエクスポートする 説明 function gmp_export ( GMP | int | string $num , int $word_size ... 関連キーワード: gmp バイナリ エクスポート export int string num size flags パラメータ デフォルト値 number divexact Search fact function データ チャンク バイト 戻り値 ...
https://man.mtool.work/php/8.3/function.gmp-export.html
バイナリ文字列にエクスポートする 8491
« gmp_divexact gmp_fact » PHP Manual GMP 関数 バイナリ文字列にエクスポートする 検索 gmp_export (PHP 5 >= 5.6.1, PHP 7, PHP 8) gmp_export — バイナリ文字列にエクスポートする 説明 function gmp_export ( GMP | int | string $num , int $word_size ... () - バイナリ文字列からインポートする 関連キーワード: バイナリ エクスポート export size flags デフォルト値 number divexact fact チャンク バイト 履歴 init 参考 import インポート ...
https://man.mtool.work/php/8.3/function.gmp-export.html
最大公約数を計算する 8421
« gmp_fact gmp_gcdext » PHP Manual GMP 関数 最大公約数を計算する 検索 gmp_gcd (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_gcd — 最大公約数を計算する 説明 function gmp_gcd ( GMP | int | string $num1 , GMP | int | string $num2 ): GMP num1 と nu ... 算する 関連キーワード: gmp num gcd 計算 最大公約数 int string 解釈 とき 場合 両方 オブジェクト 数値 init 基数 検出 base 方法 fact Search ...
https://man.mtool.work/php/8.3/function.gmp-gcd.html
最大公約数を計算する 8421
« gmp_fact gmp_gcdext » PHP Manual GMP 関数 最大公約数を計算する 検索 gmp_gcd (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_gcd — 最大公約数を計算する 説明 function gmp_gcd ( GMP | int | string $num1 , GMP | int | string $num2 ): GMP num1 と nu ... となります。 3 参考 gmp_lcm() - 最小公倍数を計算する 関連キーワード: 計算 最大公約数 解釈 両方 数値 init 基数 検出 base 方法 fact gcdext strval 参考 最小公倍数 ...
https://man.mtool.work/php/8.3/function.gmp-gcd.html
Philosophy 7641
« Installation Functional API » PHP Manual parallel Philosophy 検索 Philosophy This section contains philosophies important to writing parallel code and some details about the internal implementation of parallel. Do not communicate by shari ... found in other languages, generally threads are communicating with one another through nothing more than by virtue of the fact that they operate in the same address space. The programmer must deploy mutual exclusion, condition variables, and other l ...
https://man.mtool.work/php/8.3/philosophy.parallel.html
Philosophy 7641
« Installation Functional API » PHP Manual parallel Philosophy 検索 Philosophy This section contains philosophies important to writing parallel code and some details about the internal implementation of parallel. Do not communicate by shari ... found in other languages, generally threads are communicating with one another through nothing more than by virtue of the fact that they operate in the same address space. The programmer must deploy mutual exclusion, condition variables, and other l ...
https://man.mtool.work/php/8.3/philosophy.parallel.html
PREV 1 2 NEXT