Results of 1 - 10 of about 81 for fractions (0.012 sec.)
- fractions --- 有理数 — Python 3.14.8 ドキュメント 14889
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The fractions
...tic. A Fraction instance can be constructed from a pair of rational numbers, from a single number, or from a string. class fractions. Fraction ( numerator = 0 , denominator = 1 ) ¶ class fractions. Fraction ( number ) class fractions. Fraction ( string )...受け付けられます。どちらの形式でも、入力される文字列は前後に空白があって構いません。以下に、いくつかの例を示します: >>> from fractions import Fraction >>> Fraction ( 16 , - 10 ) Fraction(-8, 5) >>> Fraction ( 123 ) Fraction(123, 1) >>> Fraction () Fraction(...に最も近い Fraction を見付けて返します。このメソッドは与えられた浮動小数点数の有理数近似を見つけるのに役立ちます: >>> from fractions import Fraction >>> Fraction ( '3.1415926535897932' ) . limit_denominator ( 1000 ) Fraction(355, 113) あるいは float で表さ... - https://man.mtool.work/python/3.14/library/fractions.html
- fractions --- 有理数 — Python 3.14.8 ドキュメント 14739
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The fractions
...tic. A Fraction instance can be constructed from a pair of rational numbers, from a single number, or from a string. class fractions. Fraction ( numerator = 0 , denominator = 1 ) ¶ class fractions. Fraction ( number ) class fractions. Fraction ( string )...受け付けられます。どちらの形式でも、入力される文字列は前後に空白があって構いません。以下に、いくつかの例を示します: >>> from fractions import Fraction >>> Fraction ( 16 , - 10 ) Fraction(-8, 5) >>> Fraction ( 123 ) Fraction(123, 1) >>> Fraction () Fraction(...に最も近い Fraction を見付けて返します。このメソッドは与えられた浮動小数点数の有理数近似を見つけるのに役立ちます: >>> from fractions import Fraction >>> Fraction ( '3.1415926535897932' ) . limit_denominator ( 1000 ) Fraction(355, 113) あるいは float で表さ... - https://man.mtool.work/python/3.14/library/fractions.html
- 索引 — Python 3.14.8 ドキュメント 8373
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – _ _ (下線) gettext in numeric literal , [1] 文字列のフォーマットで _, identifiers __, identifiers __abs__() (object のメソッド) (opera
...ef.ref の属性) __cause__ (BaseException の属性) (exception の属性) , [1] (traceback.TracebackException の属性) __ceil__() (fractions.Fraction のメソッド) (object のメソッド) __class__ (method cell) (module attribute) (module の属性) (object の属性) (unitt...(モジュール属性) , [1] , [2] __firstlineno__ (class attribute) (type の属性) __float__() (object のメソッド) __floor__() (fractions.Fraction のメソッド) (object のメソッド) __floordiv__() (object のメソッド) (operator モジュール) __format__ __format__()...(datetime.date のメソッド) (datetime.datetime のメソッド) (datetime.time のメソッド) (enum.Enum のメソッド) (fractions.Fraction のメソッド) (ipaddress.IPv4Address のメソッド) (ipaddress.IPv6Address のメソッド) (object のメソッド) __forward_a... - https://man.mtool.work/python/3.14/genindex-_.html
- 索引 — Python 3.14.8 ドキュメント 8223
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – F f" formatted string literal f' formatted string literal f-string , [1] , [2] f-strings , [1] f_back (frame の属性) (フレーム属性) f_
...onlib.Format の属性) ForwardRef (typing のクラス) fp (urllib.error.HTTPError の属性) fpathconf() (os モジュール) Fraction (fractions のクラス) fraction() (tkinter.Scrollbar のメソッド) fractions module frame (inspect.FrameInfo の属性) Frame (tkinter のクラ...CData のメソッド) from_bytes() (int のクラスメソッド) from_callable() (inspect.Signature のクラスメソッド) from_decimal() (fractions.Fraction のクラスメソッド) from_exception() (traceback.TracebackException のクラスメソッド) from_file() (zipfile.ZipInfo の...クラスメソッド) (zoneinfo.ZoneInfo のクラスメソッド) from_float() (decimal.Decimal のクラスメソッド) (fractions.Fraction のクラスメソッド) from_iterable() (itertools.chain のクラスメソッド) from_list() (traceback.StackSummary のクラス... - https://man.mtool.work/python/3.14/genindex-F.html
- 索引 — Python 3.14.8 ドキュメント 8223
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – F f" formatted string literal f' formatted string literal f-string , [1] , [2] f-strings , [1] f_back (frame の属性) (フレーム属性) f_
...onlib.Format の属性) ForwardRef (typing のクラス) fp (urllib.error.HTTPError の属性) fpathconf() (os モジュール) Fraction (fractions のクラス) fraction() (tkinter.Scrollbar のメソッド) fractions module frame (inspect.FrameInfo の属性) Frame (tkinter のクラ...CData のメソッド) from_bytes() (int のクラスメソッド) from_callable() (inspect.Signature のクラスメソッド) from_decimal() (fractions.Fraction のクラスメソッド) from_exception() (traceback.TracebackException のクラスメソッド) from_file() (zipfile.ZipInfo の...クラスメソッド) (zoneinfo.ZoneInfo のクラスメソッド) from_float() (decimal.Decimal のクラスメソッド) (fractions.Fraction のクラスメソッド) from_iterable() (itertools.chain のクラスメソッド) from_list() (traceback.StackSummary のクラス... - https://man.mtool.work/python/3.14/genindex-F.html
- 索引 — Python 3.14.8 ドキュメント 7922
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – _ _ (下線) gettext in numeric literal , [1] 文字列のフォーマットで _, identifiers __, identifiers __abs__() (object のメソッド) (opera
...ef.ref の属性) __cause__ (BaseException の属性) (exception の属性) , [1] (traceback.TracebackException の属性) __ceil__() (fractions.Fraction のメソッド) (object のメソッド) __class__ (method cell) (module attribute) (module の属性) (object の属性) (unitt...(モジュール属性) , [1] , [2] __firstlineno__ (class attribute) (type の属性) __float__() (object のメソッド) __floor__() (fractions.Fraction のメソッド) (object のメソッド) __floordiv__() (object のメソッド) (operator モジュール) __format__ __format__()...(datetime.date のメソッド) (datetime.datetime のメソッド) (datetime.time のメソッド) (enum.Enum のメソッド) (fractions.Fraction のメソッド) (ipaddress.IPv4Address のメソッド) (ipaddress.IPv6Address のメソッド) (object のメソッド) __forward_a... - https://man.mtool.work/python/3.14/genindex-_.html
- 15. 浮動小数点演算、その問題と制限 — Python 3.14.8 ドキュメント 7472
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 15. 浮動小数点演算、その問題と制限 テーマ 自動 ライト ダーク | 15. 浮動小数点演算、その問題と制限 ¶ 浮動小数点数はコンピューターのハードウ
...プリケーションや高精度の計算が求められるアプリケーションに適した、10進数の計算を実装しています。 別の正確な計算方法として、 fractions モジュールが有理数に基づく計算を実装しています (1/3 のような数を正確に表すことができます)。 あなたが浮動小数点演算のヘビー...では、完全な 10 進値を表示するのではなく、結果を有効数字 17 桁に丸めます: >>> format ( 0.1 , '.17f' ) '0.10000000000000001' fractions モジュールと decimal モジュールを使うとこれらの計算を簡単に行えます: >>> from decimal import Decimal >>> from fractions im... - https://man.mtool.work/python/3.14/tutorial/floatingpoint.html
- 15. 浮動小数点演算、その問題と制限 — Python 3.14.8 ドキュメント 7472
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 15. 浮動小数点演算、その問題と制限 テーマ 自動 ライト ダーク | 15. 浮動小数点演算、その問題と制限 ¶ 浮動小数点数はコンピューターのハードウ
...プリケーションや高精度の計算が求められるアプリケーションに適した、10進数の計算を実装しています。 別の正確な計算方法として、 fractions モジュールが有理数に基づく計算を実装しています (1/3 のような数を正確に表すことができます)。 あなたが浮動小数点演算のヘビー...では、完全な 10 進値を表示するのではなく、結果を有効数字 17 桁に丸めます: >>> format ( 0.1 , '.17f' ) '0.10000000000000001' fractions モジュールと decimal モジュールを使うとこれらの計算を簡単に行えます: >>> from decimal import Decimal >>> from fractions im... - https://man.mtool.work/python/3.14/tutorial/floatingpoint.html
- 索引 — Python 3.14.8 ドキュメント 7321
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ
...ef.ref の属性) __cause__ (BaseException の属性) (exception の属性) , [1] (traceback.TracebackException の属性) __ceil__() (fractions.Fraction のメソッド) (object のメソッド) __class__ (method cell) (module attribute) (module の属性) (object の属性) (unitt...(モジュール属性) , [1] , [2] __firstlineno__ (class attribute) (type の属性) __float__() (object のメソッド) __floor__() (fractions.Fraction のメソッド) (object のメソッド) __floordiv__() (object のメソッド) (operator モジュール) __format__ __format__()...(datetime.date のメソッド) (datetime.datetime のメソッド) (datetime.time のメソッド) (enum.Enum のメソッド) (fractions.Fraction のメソッド) (ipaddress.IPv4Address のメソッド) (ipaddress.IPv6Address のメソッド) (object のメソッド) __forward_a... - https://man.mtool.work/python/3.14/genindex-all.html
- Python Documentation contents — Python 3.14.8 ドキュメント 7321
- ナビゲーション 索引 モジュール | 次へ | Python » 3.14.8 Documentation » Python Documentation contents テーマ 自動 ライト ダーク | Python Documentation contents ¶ What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新し
...calendar concurrent.futures configparser contextvars ctypes curses datetime decimal difflib dis errno faulthandler fnmatch fractions functools getopt getpass graphlib heapq hmac http imaplib inspect io json linecache logging.handlers math mimetypes multip...ジュール argparse 配列 ast asyncio base64 compileall concurrent.futures configparser copy ctypes dbm dis doctest email enum fractions glob importlib io ipaddress itertools marshal math mimetypes mmap multiprocessing os os.path pathlib pdb queue random re s...Override Decorator for Static Typing その他の言語変更 新たなモジュール 改良されたモジュール array asyncio calendar csv dis fractions importlib.resources inspect itertools math os os.path pathlib プラットフォーム pdb random shutil sqlite3 statistics sys te... - https://man.mtool.work/python/3.14/contents.html