Results of 1 - 10 of about 16 for 計算結果 (0.005 sec.)
- BcMath\Number::sqrt — 任意精度数値の平方根を取得する | PHP 8.3 12303
- 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 オブジェクトとして返します。 計算結果オ ... :scale が自動的に設定される場合、 $this の BcMath\Number::scale が使用されます。ただし、割り切れない除算が発生した場合は、 計算結果オブジェクトの BcMath\Number::scale が拡張されます。 拡張は必要に応じてのみ行われ、最大で +10 まで拡張されます。 この動作は ... BcMath\Number::div() と同じですので、詳しくはそちらを参照して下さい。 つまり、 $this の BcMath\Number::scale が 5 の場合、 計算結果オブジェクトの BcMath\Number::scale は 5 から 15 の間になります。 エラー / 例外 このメソッドは、以下の場合に ValueError をス ...
-
https://man.mtool.work/php/8.3/bcmath-number.sqrt.html
- BcMath\Number::div — 任意精度数値の除算を行う | PHP 8.3 10449
- BcMath\Number::div (PHP 8 >= 8.4.0) BcMath\Number::div — 任意精度数値の除算を行う 説明 public function BcMath\Number::div ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number $this を num で割ります。 パラメータ num 除
... 数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ...
-
https://man.mtool.work/php/8.3/bcmath-number.div.html
- BcMath\Number::pow — 任意精度数値をべき乗する | PHP 8.3 10310
- 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 の有効な範囲はプラットフォームに依存しますが、少なくとも -2147483648 から 2147483647 までの範囲を持ちます。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ...
-
https://man.mtool.work/php/8.3/bcmath-number.pow.html
- BcMath\Number::powmod — 任意精度数値のべき乗の、指定した数値による剰余 | PHP 8.... 10154
- 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
... 、scale は 0 でなければいけません) modulus 指数を表す、負でない、整数の値。 (つまり、scale は 0 でなければいけません) scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ... す。 戻り値 計算結果を新しい BcMath\Number オブジェクトとして返します。 計算結果オブジェクトの BcMath\Number::scale が自動的に設定される場合、常 ...
-
https://man.mtool.work/php/8.3/bcmath-number.powmod.html
- BcMath\Number::mul — 任意精度数値の乗算を行う | PHP 8.3 9790
- BcMath\Number::mul (PHP 8 >= 8.4.0) BcMath\Number::mul — 任意精度数値の乗算を行う 説明 public function BcMath\Number::mul ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number $this に num を掛けます。 パラメータ num 乗
... 数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ...
-
https://man.mtool.work/php/8.3/bcmath-number.mul.html
- BcMath\Number::add — 任意精度の数値を加算する | PHP 8.3 9426
- BcMath\Number::add (PHP 8 >= 8.4.0) BcMath\Number::add — 任意精度の数値を加算する 説明 public function BcMath\Number::add ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number $this と num を加算します。 パラメータ num
... 加数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ...
-
https://man.mtool.work/php/8.3/bcmath-number.add.html
- BcMath\Number::sub — 任意精度数値の減算を行う | PHP 8.3 9426
- BcMath\Number::sub (PHP 8 >= 8.4.0) BcMath\Number::sub — 任意精度数値の減算を行う 説明 public function BcMath\Number::sub ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number $this と num を減算します。 パラメータ num
... 減数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ...
-
https://man.mtool.work/php/8.3/bcmath-number.sub.html
- 浮動小数点数 | PHP 8.3 9340
- 浮動小数点数 浮動小数点数 (あるいは "float", "double", "実数") は、次の構文により指定できます。 <?php $a = 1.234 ; $b = 1.2e3 ; $c = 7E-10 ; $d = 1_234.567 ; // PHP 7.4.0 以降 ?> PHP 7.4.0 以降の規約(これより前のバージョンでは、アンダースコ
... 0) の結果はたいてい 7 となるでしょう。おそらくは 8 を想定していらっしゃるでしょうが、そのようにはなりません。 これは、(この計算結果の) 内部的な値が 7.9999999999999991118... のようになっているからです。 よって、小数の最後の桁を信用してはいけませんし、 小数 ...
-
https://man.mtool.work/php/8.3/language.types.float.html
- BcMath\Number::mod — 任意精度数値の剰余を取得する | PHP 8.3 9132
- BcMath\Number::mod (PHP 8 >= 8.4.0) BcMath\Number::mod — 任意精度数値の剰余を取得する 説明 public function BcMath\Number::mod ( BcMath\Number | string | int $num , ? int $scale = null ): BcMath\Number $this を num で割った剰余を取得します。
... num が 0 でない限り、 結果は $this と同じ符号になります。 パラメータ num 除数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ...
-
https://man.mtool.work/php/8.3/bcmath-number.mod.html
- BcMath\Number::divmod — 任意精度数値の商と剰余を取得する | PHP 8.3 7641
- BcMath\Number::divmod (PHP 8 >= 8.4.0) BcMath\Number::divmod — 任意精度数値の商と剰余を取得する 説明 public function BcMath\Number::divmod ( BcMath\Number | string | int $num , ? int $scale = null ): array $this を num で割った商と剰余を取得
... します。 パラメータ num 除数を表す値。 scale 計算結果オブジェクトの BcMath\Number::scale を明示的に指定します。 null の場合、計算結果の BcMath\Number::scale は自動的に設定されま ...
-
https://man.mtool.work/php/8.3/bcmath-number.divmod.html