Results of 21 - 30 of about 45 for strval (0.012 sec.)
- バイナリ文字列からインポートする 7426
- « gmp_hamdist gmp_init » PHP Manual GMP 関数 バイナリ文字列からインポートする gmp_import (PHP 5
...
の例 <?php $number = gmp_import ( "\0" ); echo gmp_strval ( $number ) . "\n" ; $number = gmp_import ( "\0\1\ ...
2" ); echo gmp_strval ( $number ) . "\n" ; ?> 上の例の出力は以下となりま ...
-
https://man.plustar.jp/php/function.gmp-import.html
- [similar]
- 乱数シードを設定する 7426
- « gmp_random_range gmp_random » PHP Manual GMP 関数 乱数シードを設定する gmp_random_seed (PHP 7,
...
t the seed gmp_random_seed ( 100 ); var_dump ( gmp_strval ( gmp_random ( 1 ))); // set the seed to something ...
p_random_seed ( gmp_init (- 100 )); var_dump ( gmp_strval ( gmp_random_bits ( 10 ))); // set the seed to som ...
-
https://man.plustar.jp/php/function.gmp-random-seed.html
- [similar]
- 乱数を生成する 7349
- « gmp_random_seed gmp_root » PHP Manual GMP 関数 乱数を生成する gmp_random (PHP 4 >= 4.0.4, PHP
...
0 から 2 * limb のビット数までの間の乱数 echo gmp_strval ( $rand1 ) . "\n" ; echo gmp_strval ( $rand2 ) . " ...
-
https://man.plustar.jp/php/function.gmp-random.html
- [similar]
- 例 6997
- « 定義済み定数 GMP 関数 » PHP Manual GMP 例 例 例1 GMP を使用した階乗関数 <?php function fact (
...
ul ( $return , $i ); } return $return ; } echo gmp_strval ( fact ( 1000 )) . "\n" ; ?> この例は、1000 の階乗 ...
-
https://man.plustar.jp/php/gmp.examples.html
- [similar]
- 1 の補数を計算する 6859
- « gmp_cmp gmp_div_q » PHP Manual GMP 関数 1 の補数を計算する gmp_com (PHP 4 >= 4.0.4, PHP 5, PHP
...
m() の例 <?php $com = gmp_com ( "1234" ); echo gmp_strval ( $com ) . "\n" ; ?> 上の例の出力は以下となります。 ...
-
https://man.plustar.jp/php/function.gmp-com.html
- [similar]
- 数値を加算する 6783
- « gmp_abs gmp_and » PHP Manual GMP 関数 数値を加算する gmp_add (PHP 4 >= 4.0.4, PHP 5, PHP 7, PH
...
( "123456789012345" , "76543210987655" ); echo gmp_strval ( $sum ) . "\n" ; ?> 上の例の出力は以下となります。 ...
-
https://man.plustar.jp/php/function.gmp-add.html
- [similar]
- 法による逆 6783
- « gmp_intval gmp_jacobi » PHP Manual GMP 関数 法による逆 gmp_invert (PHP 4 >= 4.0.4, PHP 5, PHP
...
ります $invert = gmp_invert ( "5" , "11" ); echo gmp_strval ( $invert ) . "\n" ; ?> 上の例の出力は以下となりま ...
-
https://man.plustar.jp/php/function.gmp-invert.html
- [similar]
- モジュロ演算 6783
- « gmp_legendre gmp_mul » PHP Manual GMP 関数 モジュロ演算 gmp_mod (PHP 4 >= 4.0.4, PHP 5, PHP 7,
...
の例 <?php $mod = gmp_mod ( "8" , "3" ); echo gmp_strval ( $mod ) . "\n" ; ?> 上の例の出力は以下となります。 ...
-
https://man.plustar.jp/php/function.gmp-mod.html
- [similar]
- 数値を乗算する 6783
- « gmp_mod gmp_neg » PHP Manual GMP 関数 数値を乗算する gmp_mul (PHP 4 >= 4.0.4, PHP 5, PHP 7, PH
...
p $mul = gmp_mul ( "12345678" , "2000" ); echo gmp_strval ( $mul ) . "\n" ; ?> 上の例の出力は以下となります。 ...
-
https://man.plustar.jp/php/function.gmp-mul.html
- [similar]
- ビット XOR を計算する 6783
- « gmp_testbit GMP » PHP Manual GMP 関数 ビット XOR を計算する gmp_xor (PHP 4 >= 4.0.4, PHP 5, PH
...
, 2 ); $xor3 = gmp_xor ( $xor1 , $xor2 ); echo gmp_strval ( $xor3 , 2 ) . "\n" ; ?> 上の例の出力は以下となり ...
-
https://man.plustar.jp/php/function.gmp-xor.html
- [similar]