Python 3.6.5 ドキュメント 検索
Results of 11 - 20 of about 78 for float (0.050 sec.)
- 2. 組み込み関数 — Python 3.6.5 ドキュメント 8085
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
rray() filter() issubclass() pow() super() bytes() float() iter() print() tuple() callable() format() len()...
l クラスは int クラスの派生クラスです( 数値型 int, float, complex を参照してください)。このクラスからさらに...
場合、標準の値はゼロで、このコンストラクタは int や float のような数値変換としてはたらきます。両方の引数が省...
rror を送出します。 複素数型については 数値型 int, float, complex に説明があります。 バージョン 3.6 で変更:...
- https://man.plustar.jp/python/library/functions.html - [similar]
- What's New in Python 2.7 — Python 3.6.5 ドキュメント 7892
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
モジュールの小さいサブセット。 下に説明があります float x の repr() が多くの場合に短くなりました。これは x...
小の10進文字列です。以前のバージョンの Python では、 float(repr(x)) が x になることだけが保証されていました。...
float から文字列、文字列から float への変換が正しく丸めら...
になりました。この変換はいろいろな場面で発生します: float 型や complex 型に対する str() 関数の適用、 float や...
- https://man.plustar.jp/python/whatsnew/2.7.html - [similar]
- 9.3. cmath --- 複素数のための数学関数 — Python 3.6.5 ドキュメント 7796
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
素数を引数にとります。また、 __complex__() または __float__() どちらかのメソッドを提供している Python オブジ...
で追加. cmath. inf ¶ 浮動小数点数の正の無限大です。 float('inf') と等価です。 バージョン 3.6 で追加. cmath....
がゼロ、虚部が正の無限大の複素数です。 complex(0.0, float('inf')) と等価です。 バージョン 3.6 で追加. cmath....
n ¶ 浮動小数点数の非数 "not a number" (NaN) です。 float('nan') と等価です。 バージョン 3.6 で追加. cmath....
- https://man.plustar.jp/python/library/cmath.html - [similar]
- 引数の解釈と値の構築 — Python 3.6.5 ドキュメント 7603
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
Python キャラクタを C の int 型に変換します。 f ( float ) [float] Python の浮動小数点型を、 C の float 型に...
変換します。 d ( float ) [double] Python の浮動小数点型を、 C の double 型...
1 の Python の str オブジェクトに変換します。 d ( float ) [double] C の double を Python の浮動小数点数に変...
換します。 f ( float ) [float] C の float を Python の浮動小数点数に変換...
- https://man.plustar.jp/python/c-api/arg.html - [similar]
- 12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 7314
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ble はただ一つの引数に Python の値を受け取り、int, float, str または bytes のいずれかの型の値を返さなければ...
of the types supported by SQLite: bytes, str, int, float and None . 例: import sqlite3 import hashlib def m...
of the types supported by SQLite: bytes, str, int, float and None . 例: import sqlite3 class MySum : def __...
ます: Python の型 SQLite の型 None NULL int INTEGER float REAL str TEXT bytes BLOB SQLite の型から Python の...
- https://man.plustar.jp/python/library/sqlite3.html - [similar]
- 10.2. functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.6.5 ド... 7025
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
each variant independently: >>> @fun . register ( float ) ... @fun . register ( Decimal ) ... def fun_num...
dispatch() 属性を使用します: >>> fun . dispatch ( float ) <function fun_num at 0x1035a2840> >>> fun . disp...
<class 'decimal.Decimal'>, <class 'list'>, <class 'float'>]) >>> fun . registry [ float ] <function fun_num...
- https://man.plustar.jp/python/library/functools.html - [similar]
- What's New In Python 3.2 — Python 3.6.5 ドキュメント 7025
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
ezone.utc) さらに、 timedelta オブジェクトは今では float を掛けることができ、 float や int で割ることができ...
inite >>> [ isfinite ( x ) for x in ( 123 , 4.56 , float ( 'Nan' ), float ( 'Inf' ))] [True, True, False, F...
制限の初期の決断は緩和されました。 Decimal('1.1') + float('1.1') のように、算術式内で暗黙に混合することは、今...
されません (そして賢明でもありません)。これは後者 ( float('1.1') ) は二進浮動小数点数を構築する過程で情報を損...
- https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
- 14.2. configparser --- 設定ファイルのパーサー — Python 3.6.5 ドキュメント 6928
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
あります: >>> int ( topsecret [ 'Port' ]) 50022 >>> float ( topsecret [ 'CompressionLevel' ]) 9.0 このタスク...
g parser では、 getboolean() 以外に getint() と getfloat() メソッドも提供されています。独自のコンバーターの...
monsters' 同様の fallback 引数を、 getint() 、 getfloat() と getboolean() メソッドでも使えます。例えば: >>...
265359 are they treated as numbers? : no integers, floats and booleans are held as: strings can use the API...
- https://man.plustar.jp/python/library/configparser.html - [similar]
- 9.6. random --- 擬似乱数を生成する — Python 3.6.5 ドキュメント 6928
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
れます。 weights や cum_weights には random() が返す float と相互に変換できるような、あらゆる型を使用できます...
(int、float、fraction を含みますが、decimal は除きます)。 バージ...
7. 例とレシピ ¶ 基礎的な例: >>> random () # Random float: 0.0 <= x < 1.0 0.37444887175646646 >>> uniform (...
2.5 , 10.0 ) # Random float: 2.5 <= x < 10.0 3.1800146073117523 >>> expovariat...
- https://man.plustar.jp/python/library/random.html - [similar]
- 14.4. xdrlib --- XDR データのエンコードおよびデコード — Python 3.6.5 ドキュメン... 6928
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
pack_hyper() がサポートされています。 Packer. pack_float ( value ) ¶ 単精度 (single-precision) の浮動小数点...
れたデータオブジェクトを返します。 Unpacker. unpack_float ( ) ¶ 単精度の浮動小数点数をアンパックします。 Unp...
acker. unpack_double ( ) ¶ unpack_float() と同様に、倍精度の浮動小数点数をアンパックします...
- https://man.plustar.jp/python/library/xdrlib.html - [similar]