per page, with , order by , clip by
Results of 1 - 10 of about 18 for 分数 (0.013 sec.)
15. 浮動小数点演算、その問題と制限 — Python 3.14.8 ドキュメント 13417
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 15. 浮動小数点演算、その問題と制限 テーマ 自動 ライト ダーク | 15. 浮動小数点演算、その問題と制限 ¶ 浮動小数点数はコンピューターのハードウ ... ェア上は2進数(binary)の分数で表されます。 たとえば、 10進数 の分数では 0.625 は 6/10 + 2/100 + 5/1000 という値を持ち、 2進数 の分数では 0.101 は 1/2 + ... 0/4 + 1/8 という値を持ちます。 この2つの分数はまったく同じ値を持ち、唯一異なる点は1つ目が10進数の分数で書かれており、2つ目は2進数の分数で書かれているということです。 残 ... 念なことに、ほとんどの小数は 2 進法の分数として正確に表わすことができません。その結果、一般に、入力した 10 進の浮動小数点数は、 2 進法の浮動小数点数で近似された後、実 ...
https://man.mtool.work/python/3.14/tutorial/floatingpoint.html
15. 浮動小数点演算、その問題と制限 — Python 3.14.8 ドキュメント 13417
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 15. 浮動小数点演算、その問題と制限 テーマ 自動 ライト ダーク | 15. 浮動小数点演算、その問題と制限 ¶ 浮動小数点数はコンピューターのハードウ ... ェア上は2進数(binary)の分数で表されます。 たとえば、 10進数 の分数では 0.625 は 6/10 + 2/100 + 5/1000 という値を持ち、 2進数 の分数では 0.101 は 1/2 + ... 0/4 + 1/8 という値を持ちます。 この2つの分数はまったく同じ値を持ち、唯一異なる点は1つ目が10進数の分数で書かれており、2つ目は2進数の分数で書かれているということです。 残 ... 念なことに、ほとんどの小数は 2 進法の分数として正確に表わすことができません。その結果、一般に、入力した 10 進の浮動小数点数は、 2 進法の浮動小数点数で近似された後、実 ...
https://man.mtool.work/python/3.14/tutorial/floatingpoint.html
fractions --- 有理数 — Python 3.14.8 ドキュメント 8150
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The f ... 3.14 で変更: The Fraction constructor now accepts any objects with the as_integer_ratio() method. numerator ¶ 有理数を既約分数で表したときの分子。 denominator ¶ Denominator of the Fraction in lowest terms. Guaranteed to be positive. as_integer_ratio ...
https://man.mtool.work/python/3.14/library/fractions.html
fractions --- 有理数 — Python 3.14.8 ドキュメント 8150
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The f ... 3.14 で変更: The Fraction constructor now accepts any objects with the as_integer_ratio() method. numerator ¶ 有理数を既約分数で表したときの分子。 denominator ¶ Denominator of the Fraction in lowest terms. Guaranteed to be positive. as_integer_ratio ...
https://man.mtool.work/python/3.14/library/fractions.html
decimal --- 10進固定小数点と浮動小数点の演算 — Python 3.14.8 ドキュメント 8064
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » decimal --- 10進固定小数点と浮動小数点の演算 テーマ 自動 ライト ダーク | decimal --- 10進固定小数点と浮動小数 ... を返します。最上桁の小数点からの相対位置を調べる際に使います。 as_integer_ratio ( ) ¶ 与えられた Decimal インスタンスを、既約分数で分母が正数の分数として表現した整数のペア (n, d) を返します。 >>> Decimal ( '-3.14' ) . as_integer_ratio () (-157, 50) 変換 ...
https://man.mtool.work/python/3.14/library/decimal.html
decimal --- 10進固定小数点と浮動小数点の演算 — Python 3.14.8 ドキュメント 8064
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » decimal --- 10進固定小数点と浮動小数点の演算 テーマ 自動 ライト ダーク | decimal --- 10進固定小数点と浮動小数 ... を返します。最上桁の小数点からの相対位置を調べる際に使います。 as_integer_ratio ( ) ¶ 与えられた Decimal インスタンスを、既約分数で分母が正数の分数として表現した整数のペア (n, d) を返します。 >>> Decimal ( '-3.14' ) . as_integer_ratio () (-157, 50) 変換 ...
https://man.mtool.work/python/3.14/library/decimal.html
math --- 数学関数 — Python 3.14.8 ドキュメント 7978
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math ... hing in Python). math. remainder ( x , y ) ¶ IEEE 754 標準方式の x を y で割った剰余を返します。 有限な x と有限な y では、分数 x / y の厳密な値に最も近い整数を n として、 x - n*y がこの返り値となります。 x / y が隣り合う 2 つの整数のちょうど真ん中だ ...
https://man.mtool.work/python/3.14/library/math.html
What's New in Python 2.6 — Python 3.14.8 ドキュメント 7978
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.6 テーマ 自動 ライト ダーク | What's New in Python 2.6 ¶ 著者 : A.M. Kuchling (amk at amk.ca) This article explains ... 階層を埋めるべく、 fractions モジュールが有理数クラスを提供しています。有理数は分子(numerator)と分母(denominator)で構成される分数としてその値を格納し、浮動小数点数では近似しか出来ない 2/3 のような数を正確に表現出来ます。 The Fraction constructor takes t ... 98509481984L) 1./3 のような浮動小数点数で近似にしかならない値は、近似して単純化されたりはしないことに注意してください; その分数は浮動小数点数に 正確に 合うように試みられます。 fractions モジュールは、ずっと長い間 Python の Demo/classes/ ディレクトリに ...
https://man.mtool.work/python/3.14/whatsnew/2.6.html
組み込み型 — Python 3.14.8 ドキュメント 7978
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主 ... 小数点数です。複素数 z から実部および虚部を取り出すには、 z.real および z.imag を使ってください。 (標準ライブラリには、さらに分数のための数値型 fractions.Fraction や、ユーザによる精度の定義が可能な浮動小数点数のための decimal.Decimal があります。) 数値は ... 。 Added in version 3.14. float. as_integer_ratio ( ) ¶ 比が厳密に元の浮動小数点数であるような一対の整数を返します。比は既約分数として与えられ、分母は正の値です。無限大に対しては OverflowError を、非数 (NaN) に対しては ValueError を送出します。 float. ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
math --- 数学関数 — Python 3.14.8 ドキュメント 7978
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math ... hing in Python). math. remainder ( x , y ) ¶ IEEE 754 標準方式の x を y で割った剰余を返します。 有限な x と有限な y では、分数 x / y の厳密な値に最も近い整数を n として、 x - n*y がこの返り値となります。 x / y が隣り合う 2 つの整数のちょうど真ん中だ ...
https://man.mtool.work/python/3.14/library/math.html
PREV 1 2 NEXT