« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 21 for 平方根 (0.002 sec.)
gmp_perfect_square — 平方数かどうかを調べる | PHP 8.3 13040
gmp_perfect_square (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_perfect_square — 平方数かどうかを調べる 説明 function gmp_perfect_square ( GMP | int | string $num ): bool その数が平方数であるかどうかを調べます。 パラメータ num 平方数かどうかを ... 例の出力は以下となります。 bool(true) bool(false) bool(true) 参考 gmp_perfect_power() - 累乗数かどうかを調べる gmp_sqrt() - 平方根を計算する gmp_sqrtrem() - 余りつきの平方根 他のマニュアルの関連ページ Linux JM sqrtl(3) Linux JM sqrtf(3) Linux JM sqrt(3) ...
https://man.mtool.work/php/8.3/function.gmp-perfect-square.html
gmp_sqrtrem — 余りつきの平方根 | PHP 8.3 10858
gmp_sqrtrem (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_sqrtrem — 余りつきの平方根 説明 function gmp_sqrtrem ( GMP | int | string $num ): array ある数の平方根を余りつきで計算します。 パラメータ num 平方根を計算したい数。 GMP オブジェクト、 in ... 、 gmp_init() で基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 戻り値 最初の要素が num の整数平方根 ( gmp_sqrt() も参照ください)、2 番目の要素が余り (すなわち、 num と最初の要素の 2 乗の差) であるような配列を返します。 エラ ...
https://man.mtool.work/php/8.3/function.gmp-sqrtrem.html
bcsqrt — 任意精度数値の平方根を取得する | PHP 8.3 10655
bcsqrt (PHP 4, PHP 5, PHP 7, PHP 8) bcsqrt — 任意精度数値の平方根を取得する 説明 function bcsqrt ( string $num , ? int $scale = null ): string num の平方根を返します。 パラメータ num オペランドを表す、BCMath で有効な数値形式の文字列。 scale ... した桁数をデフォルトとして使用します。 それも設定されていない場合は bcmath.scale INI ディレクティブの値を使用します。 戻り値 平方根を、BCMath で有効な数値形式の文字列で返します。 エラー / 例外 この関数は、以下の場合に ValueError をスローします: num が、BC ... 例 <?php echo bcsqrt ( '2' , 3 ); // 1.414 ?> 参考 bcpow() - 任意精度数値をべき乗する BcMath\Number::sqrt() - 任意精度数値の平方根を取得する 他のマニュアルの関連ページ Linux JM sqrtl(3) Linux JM sqrtf(3) Linux JM sqrt(3) Linux JM dc(1) Linux JM seq(1) Li ...
https://man.mtool.work/php/8.3/function.bcsqrt.html
sqrt — 平方根 | PHP 8.3 10655
sqrt (PHP 4, PHP 5, PHP 7, PHP 8) sqrt — 平方根 説明 function sqrt ( float $num ): float num の平方根を返します。 パラメータ num 処理する引数。 戻り値 num の平方根を返します。 負の数を指定した場合は、特別な値 NAN を返します。 例 例1 sqrt() ...
https://man.mtool.work/php/8.3/function.sqrt.html
BcMath\Number::sqrt — 任意精度数値の平方根を取得する | PHP 8.3 10114
BcMath\Number::sqrt (PHP 8 >= 8.4.0) BcMath\Number::sqrt — 任意精度数値の平方根を取得する 説明 public function BcMath\Number::sqrt ( ? int $scale = null ): BcMath\Number $this の平方根を返します。 パラメータ scale 計算結果オブジェクトの BcM ... ath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されます。 戻り値 平方根を新しい BcMath\Number オブジェクトとして返します。 計算結果オブジェクトの BcMath\Number::scale が自動的に設定される場合、 $ ... => int(0) } object(BcMath\Number)#5 (2) { ["value"]=> string(5) "2.000" ["scale"]=> int(3) } 参考 bcsqrt() - 任意精度数値の平方根を取得する BcMath\Number::div() - 任意精度数値の除算を行う BcMath\Number::pow() - 任意精度数値をべき乗する 他のマニュアルの関 ...
https://man.mtool.work/php/8.3/bcmath-number.sqrt.html
gmp_sqrt — 平方根を計算する | PHP 8.3 10114
gmp_sqrt (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gmp_sqrt — 平方根を計算する 説明 function gmp_sqrt ( GMP | int | string $num ): GMP num の平方根を計算します。 パラメータ num GMP オブジェクト、 int 、 あるいは数値として解釈可能な string 。 文 ... 字列の場合、 gmp_init() で基数を自動検出するとき ( base に 0 を指定したとき) と同じ方法で解釈されます。 戻り値 平方根の整数部分を GMP 数で返します。 エラー / 例外 num が負の場合、 ValueError がスローされます。 PHP 8.0.0 より前のバージョンでは ...
https://man.mtool.work/php/8.3/function.gmp-sqrt.html
GMP 関数 | PHP 8.3 8642
GMP 関数 参考 より数学的な関数が、 数学 の節にあります。 目次 gmp_abs — 絶対値 gmp_add — 数値を加算する gmp_and — ビット AND を計算する gmp_binomial — 二項係数を計算する gmp_clrbit — ビットをクリアする gmp_cmp — 数を比較する gmp_com — 1 の補 ... 部分と小数部分を返す gmp_scan0 — 0 を探す gmp_scan1 — 1 を探す gmp_setbit — ビットを設定する gmp_sign — 数の符号 gmp_sqrt — 平方根を計算する gmp_sqrtrem — 余りつきの平方根 gmp_strval — GMP 数を文字列に変換する gmp_sub — 数値の減算 gmp_testbit — ビットが設 ...
https://man.mtool.work/php/8.3/ref.gmp.html
GNU Multiple Precision | PHP 8.3 8203
GNU Multiple Precision はじめに 以下の関数により、GNU MP ライブラリを使用して 任意長の整数を使用することが可能になります。 注意 : 大半の GMP 関数は、GMP 数を引数としてとります。 このマニュアルでは、GMP 数を GMP オブジェクトとしています。 こ ... 部分と小数部分を返す gmp_scan0 — 0 を探す gmp_scan1 — 1 を探す gmp_setbit — ビットを設定する gmp_sign — 数の符号 gmp_sqrt — 平方根を計算する gmp_sqrtrem — 余りつきの平方根 gmp_strval — GMP 数を文字列に変換する gmp_sub — 数値の減算 gmp_testbit — ビットが設 ...
https://man.mtool.work/php/8.3/book.gmp.html
BCMath 任意精度数学関数 | PHP 8.3 7932
BCMath 任意精度数学関数 はじめに 任意の精度の演算をサポートするために、PHP は 2147483647 (または 0x7FFFFFFF ) までの 任意のサイズおよび精度の小数桁をサポートする BCMath を提供します。 十分なメモリがあれば、文字列表現もサポートします。 有効( ... nd — 任意精度数値を丸める bcscale — すべての BC 演算関数におけるデフォルトのスケールを設定/取得する bcsqrt — 任意精度数値の平方根を取得する bcsub — 任意精度数値の減算を行う BcMath\Number — BcMath\Number クラス BcMath\Number::add — 任意精度の数値を加算す ... 度数値を丸める BcMath\Number::__serialize — BcMath\Number オブジェクトをシリアライズする BcMath\Number::sqrt — 任意精度数値の平方根を取得する BcMath\Number::sub — 任意精度数値の減算を行う BcMath\Number::__toString — BcMath\Number オブジェクトを文字列に変換 ...
https://man.mtool.work/php/8.3/book.bc.html
ImagickPixel::isPixelSimilar — この色と別の色の差を調べる | PHP 8.3 7712
ImagickPixel::isPixelSimilar (PECL imagick 3 >= 3.3.0) ImagickPixel::isPixelSimilar — この色と別の色の差を調べる 説明 public function ImagickPixel::isPixelSimilar ( ImagickPixel $color , float $fuzz ): bool この ImagickPixel オブジェクトと指 ... color このオブジェクトと比較したい ImagickPixel オブジェクト。 fuzz 同じ色であるとみなす最大の誤差。 理論上の最大値は、3 の平方根 (1.732) となります。 戻り値 成功した場合に true を返します。 他のマニュアルの関連ページ DuckDB SQLSmith Extension Linux JM ...
https://man.mtool.work/php/8.3/imagickpixel.ispixelsimilar.html
PREV 1 2 3 NEXT