Results of 1 - 10 of about 44 for Integral (0.006 sec.)
- numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 13985
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li
...ティを加えたものです。これは float() のデフォルトも提供します。 The numerator and denominator values should be instances of Integral and should be in lowest terms with denominator positive. numerator ¶ Abstract. The numerator of this rational number. deno...minator ¶ Abstract. The denominator of this rational number. class numbers. Integral ¶ Rational をサブタイプ化し int への変換が加わります。 float() , numerator , denominator のデフォルトを提供します。法 (訳注...bout the types of both arguments, or convert both to the nearest built in type and do the operation there. For subtypes of Integral , this means that __add__() and __radd__() should be defined as: class MyIntegral ( Integral ): def __add__ ( self , other... - https://man.mtool.work/python/3.14/library/numbers.html
- numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 12771
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li
...ティを加えたものです。これは float() のデフォルトも提供します。 The numerator and denominator values should be instances of Integral and should be in lowest terms with denominator positive. numerator ¶ Abstract. The numerator of this rational number. deno...minator ¶ Abstract. The denominator of this rational number. class numbers. Integral ¶ Rational をサブタイプ化し int への変換が加わります。 float() , numerator , denominator のデフォルトを提供します。法 (訳注...bout the types of both arguments, or convert both to the nearest built in type and do the operation there. For subtypes of Integral , this means that __add__() and __radd__() should be defined as: class MyIntegral ( Integral ): def __add__ ( self , other... - https://man.mtool.work/python/3.14/library/numbers.html
- fractions --- 有理数 — Python 3.14.8 ドキュメント 9820
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The f
...d in version 3.12. classmethod from_float ( f ) ¶ Alternative constructor which only accepts instances of float or numbers.Integral . Beware that Fraction.from_float(0.3) is not the same value as Fraction(3, 10) . 注釈 Python 3.2 以降では、 float から直接...した。 classmethod from_decimal ( dec ) ¶ Alternative constructor which only accepts instances of decimal.Decimal or numbers.Integral . 注釈 Python 3.2 以降では、 decimal.Decimal インスタンスから直接 Fraction インスタンスを構築できるようになりました。 clas...smethod from_number ( number ) ¶ Alternative constructor which only accepts instances of numbers.Integral , numbers.Rational , float or decimal.Decimal , and objects with the as_integer_ratio() method, but not strings. Added in... - https://man.mtool.work/python/3.14/library/fractions.html
- fractions --- 有理数 — Python 3.14.8 ドキュメント 9820
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The f
...d in version 3.12. classmethod from_float ( f ) ¶ Alternative constructor which only accepts instances of float or numbers.Integral . Beware that Fraction.from_float(0.3) is not the same value as Fraction(3, 10) . 注釈 Python 3.2 以降では、 float から直接...した。 classmethod from_decimal ( dec ) ¶ Alternative constructor which only accepts instances of decimal.Decimal or numbers.Integral . 注釈 Python 3.2 以降では、 decimal.Decimal インスタンスから直接 Fraction インスタンスを構築できるようになりました。 clas...smethod from_number ( number ) ¶ Alternative constructor which only accepts instances of numbers.Integral , numbers.Rational , float or decimal.Decimal , and objects with the as_integer_ratio() method, but not strings. Added in... - https://man.mtool.work/python/3.14/library/fractions.html
- decimal --- 10進固定小数点と浮動小数点の演算 — Python 3.14.8 ドキュメント 9082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » decimal --- 10進固定小数点と浮動小数点の演算 テーマ 自動 ライト ダーク | decimal --- 10進固定小数点と浮動小数
...または 2 つの 0 の付加が必要とされるかもしれません。 たとえば、 Decimal('123E+1') は Decimal('1.23E+3') に変換されます。 to_integral ( rounding = None , context = None ) ¶ to_integral_value() メソッドと同じです。 to_integral の名前は古いバージョンとの互換...性のために残されています。 to_integral_exact ( rounding = None , context = None ) ¶ 最近傍の整数に値を丸め、丸めが起こった場合には Inexact または Rounded のシグナ...うでなければ context 引数で決まります。どちらの引数も渡されなければ現在のスレッドのコンテキストの丸めモードが使われます。 to_integral_value ( rounding = None , context = None ) ¶ Inexact や Rounded といったシグナルを出さずに最近傍の整数に値を丸めます。 rou... - https://man.mtool.work/python/3.14/library/decimal.html
- math --- 数学関数 — Python 3.14.8 ドキュメント 9082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math
...n version 3.8. math. factorial ( n ) ¶ Return factorial of the nonnegative integer n . バージョン 3.10 で変更: Floats with integral values (like 5.0 ) are no longer accepted. math. gcd ( * integers ) ¶ Return the greatest common divisor of the specified...ceil ( x ) ¶ x の「天井」 ( x 以上の最小の整数) を返します。 x が浮動小数点数でなければ、内部的に x.__ceil__ が実行され、 Integral 値が返されます。 math. fabs ( x ) ¶ x の絶対値を返します。 math. floor ( x ) ¶ x の「床」 ( x 以下の最大の整数) を返します...。 x が浮動小数点数でなければ、内部的に x.__floor__ が実行され、 Integral 値が返されます。 math. fma ( x , y , z ) ¶ Fused multiply-add operation. Return (x * y) + z , computed as though with infi... - https://man.mtool.work/python/3.14/library/math.html
- decimal --- 10進固定小数点と浮動小数点の演算 — Python 3.14.8 ドキュメント 9082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » decimal --- 10進固定小数点と浮動小数点の演算 テーマ 自動 ライト ダーク | decimal --- 10進固定小数点と浮動小数
...または 2 つの 0 の付加が必要とされるかもしれません。 たとえば、 Decimal('123E+1') は Decimal('1.23E+3') に変換されます。 to_integral ( rounding = None , context = None ) ¶ to_integral_value() メソッドと同じです。 to_integral の名前は古いバージョンとの互換...性のために残されています。 to_integral_exact ( rounding = None , context = None ) ¶ 最近傍の整数に値を丸め、丸めが起こった場合には Inexact または Rounded のシグナ...うでなければ context 引数で決まります。どちらの引数も渡されなければ現在のスレッドのコンテキストの丸めモードが使われます。 to_integral_value ( rounding = None , context = None ) ¶ Inexact や Rounded といったシグナルを出さずに最近傍の整数に値を丸めます。 rou... - https://man.mtool.work/python/3.14/library/decimal.html
- math --- 数学関数 — Python 3.14.8 ドキュメント 9082
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math
...n version 3.8. math. factorial ( n ) ¶ Return factorial of the nonnegative integer n . バージョン 3.10 で変更: Floats with integral values (like 5.0 ) are no longer accepted. math. gcd ( * integers ) ¶ Return the greatest common divisor of the specified...ceil ( x ) ¶ x の「天井」 ( x 以上の最小の整数) を返します。 x が浮動小数点数でなければ、内部的に x.__ceil__ が実行され、 Integral 値が返されます。 math. fabs ( x ) ¶ x の絶対値を返します。 math. floor ( x ) ¶ x の「床」 ( x 以下の最大の整数) を返します...。 x が浮動小数点数でなければ、内部的に x.__floor__ が実行され、 Integral 値が返されます。 math. fma ( x , y , z ) ¶ Fused multiply-add operation. Return (x * y) + z , computed as though with infi... - https://man.mtool.work/python/3.14/library/math.html
- 索引 — Python 3.14.8 ドキュメント 8590
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – T t-string t-strings T_BOOL (C macro) T_BYTE (C macro) T_CHAR (C macro) T_DOUBLE (C macro) T_FLOAT (C macro) T_FMT (locale モジュール)
...TO_BOOL (opcode) to_bytes() (int のメソッド) to_eng_string() (decimal.Context のメソッド) (decimal.Decimal のメソッド) to_integral() (decimal.Decimal のメソッド) to_integral_exact() (decimal.Context のメソッド) (decimal.Decimal のメソッド) to_integral_v... - https://man.mtool.work/python/3.14/genindex-T.html
- 索引 — Python 3.14.8 ドキュメント 8590
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – T t-string t-strings T_BOOL (C macro) T_BYTE (C macro) T_CHAR (C macro) T_DOUBLE (C macro) T_FLOAT (C macro) T_FMT (locale モジュール)
...TO_BOOL (opcode) to_bytes() (int のメソッド) to_eng_string() (decimal.Context のメソッド) (decimal.Decimal のメソッド) to_integral() (decimal.Decimal のメソッド) to_integral_exact() (decimal.Context のメソッド) (decimal.Decimal のメソッド) to_integral_v... - https://man.mtool.work/python/3.14/genindex-T.html